itzg / docker-rcon-web-admin Goto Github PK
View Code? Open in Web Editor NEWA Docker image that runs rcon-web-admin
License: MIT License
A Docker image that runs rcon-web-admin
License: MIT License
@brainfoolong has discontinued the project, it was handed over to @lacaulac
I reckon it may be a good idea to pull down and maintain a downstream fork of lacaulac's code specifically for this container. This would be ideal for implementing environment variable configuration options, for example.
On my Docker installation I had already 2 Minecraft servers using your image before I installed this rcon image. So I made it in a completely different docker-compose file so it is not connected directly with the server as in your example.
So there I tried instead of giving it the container name of the server, to type out the server IP address, which apparently did not work (it cannot find the server). Is there any workaround to this without me inserting the image into both docker-compose files for both my servers? I want to keep all of it in one web interface.
I will attach my docker-compose file below. Thanks in advance!
version: '3'
services:
web:
image: itzg/rcon
environment:
RWA_USERNAME: admin
RWA_PASSWORD: obviouslyremovedtheoriginal
RWA_ADMIN: "TRUE"
RWA_RCON_HOST: mc.mbms.me
RWA_RCON_PASSWORD: obviouslyremovedtheoriginaltoo
ports:
- 4326:4326
- 4327:4327
Hello,
I have a minecraft server running in a docker container and I can't connect to it via this tool.
I've checked the other issues and tried what I could, but no success.
My docker-compose for the server is:
version: "3.8"
services:
minecraft-server:
image: "itzg/minecraft-server:multiarch-latest"
container_name: "mc-pi"
ports:
- "25565:25565"
- "4711:4711"
volumes:
- "~/mc/data:/data"
networks:
- Minecraft
environment:
EULA: "true"
ENABLE_RCON: "true"
RCON_PASSWORD: "sabin"
RCON_PORT: 25575
TYPE: "PURPUR"
VERSION: "1.16.5"
PURPUR_BUILD: "LATEST"
MEMORY: "1000m"
tty: true
stdin_open: true
restart: always
volumes:
mc:
networks:
Minecraft:
And the docker-compose for the rcon is:
version: "3.8"
services:
web:
image: itzg/rcon
environment:
RWA_USERNAME: admin
RWA_PASSWORD: sabin
RWA_ADMIN: "TRUE"
RWA_RCON_HOST: minecraft-server
RWA_RCON_PASSWORD: sabin
ports:
- 4326:4326
- 4327:4327
networks:
- other
networks:
other:
external: true
name: mc_default
The folder structure is as follows:
.
├── mc
│ ├── data
│ ├── docker-compose.yml
└── rcon
└── docker-compose.yml
Also the docker network:
docker network ls
NETWORK ID NAME DRIVER SCOPE
3330c2b424c3 bridge bridge local
403bf6ad6186 host host local
f4a2d89db847 mc_Minecraft bridge local
a7593566ae8d mc_default bridge local
a78b132a0a4a none null local
66d83ced9f93 web bridge local
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
481df532f24d itzg/rcon "/usr/local/bin/node…" 14 minutes ago Up 14 minutes 0.0.0.0:4326-4327->4326-4327/tcp, :::4326-4327->4326-4327/tcp rcon_web_1
5167a15b7446 itzg/minecraft-server:multiarch-latest "/start" 18 minutes ago Up 18 minutes (healthy) 0.0.0.0:4711->4711/tcp, :::4711->4711/tcp, 0.0.0.0:25565->25565/tcp, :::25565->25565/tcp, 25575/tcp mc-pi
I've also tried using only one docker-compose file, same results:
version: "3.8"
services:
minecraft-server:
image: "itzg/minecraft-server:multiarch-latest"
container_name: "mc-pi"
ports:
- "25565:25565"
- "4711:4711"
volumes:
- "~/mc/data:/data"
# networks:
# - Minecraft
environment:
EULA: "true"
ENABLE_RCON: "true"
RCON_PASSWORD: "sabin"
RCON_PORT: 25575
TYPE: "PURPUR"
VERSION: "1.16.5"
PURPUR_BUILD: "LATEST"
MEMORY: "1000m"
tty: true
stdin_open: true
restart: always
web:
image: itzg/rcon
environment:
RWA_USERNAME: admin
RWA_PASSWORD: admin
RWA_ADMIN: "TRUE"
# is referring to the hostname of 'mc' compose service below
RWA_RCON_HOST: minecraft-server
# needs to match the password configured for the container, which is 'minecraft' by default
RWA_RCON_PASSWORD: sabin
ports:
- 4326:4326
- 4327:4327
volumes:
mc:
Any help is much appreciated! Thanks in advance!
I cant run and dont see errors in log, I want a rust server rcon.
on your readme:
"simply download/modify this docker-compose.yml" --> 404, file not found
It seems like dockerhub don't detect when upstream releases a new zip file. Would it be possible to force build a new version of this repo on dockerhub.
Maybe setup somekind of way to detect new version upstream?
thanks in advance.
I'm using the Docker-compose but modified so that the ports are not exposed, I did not want to expose the ports on the network unencrypted, so I set up a nginx proxy with letsencrypt.
On the proxy I send traffic from port 443 to http://dockername:4326
I can get to the admin page with no issues but it does not seem to want to connect to the socket.
I have a suspicion that the actual webbrowser attempts to connect instead of internal in the docker container. Is there a way to configure it to connect internally or do I need to expose the port outside the continer?
Is it possible to configure multiple servers from the docker-compose
file?
I would like to configure multiple servers and would like to add them automagically.
Can we get a refresh of the image?
Not that I noticed any issues with the image, but I noticed you use node:10
even though the upstream requirements state to use atleast node:12.13.1
https://github.com/rcon-web-admin/rcon-web-admin#requirements
Any reason for the choice of Node 10?
Hi, I tested recon-web-admin with the current Dockerfile.
It works without problems, please add it to Docker Hub.
Thanks
Just want to say that this actually works for me with latest itzg/minecraft-server (26.4.2024) so not sure if this project should be deprecated.
Hello,
I want to run multiple servers with this webrcon interface and so I need to change the ports which is no problem but the webinterface expects the Backend to still listen at Port 4327 so it can not connect to the websocket at 4327. Maybe you can make this dynamic so I can specify the new Port with an env-variable
I'm new to docker and have managed to install a Creative and Survival server. I'm trying to RCON the Survival server, but connection is always refused.
I have enabled RCON in the server.properties file using port 25566 with rcon.port=25576
and RCON is starting successfully.
I am attempting to run this command from terminal to setup rcon-web:
docker run -d --name rcon-web -p 4326:4326 -p 4327:4327 -e RWA_PASSWORD=guipassword -e RWA_RCON_PASSWORD=minecraft -e RWA_RCON_PORT=25576 -e RWA_RCON_HOST=127.0.0.1 -e RWA_SERVER_NAME=mc2survival itzg/rcon
When checking the logs in portainer for rcon-web, I see:
2021-03-18T15:18:54.475Z RconServer [127.0.0.1:25576]: Connection failed
and error in the GUI of:
The current selected server is not available anymore. Maybe gone offline?
Can anybody help with this, I've spent a day on it! My Daughter needs op'ing and I'm getting it in the neck :-)
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.