docker-rcon-web-admin
docker-rcon-web-admin copied to clipboard
A Docker image that runs rcon-web-admin
UNSUPPORTED
This image is no longer actively supported since the upstream software no longer successfully establishes RCON connections. Issues and PRs are welcome to make suggestions for a suitable replacement.
This image lets you run the rcon-web-admin administration tool as a Docker container. A great benefit of running rcon-web-admin in Docker, especially in a Docker Composition is that the RCON port of your game server can remain securely isolated within the Docker network.
Getting Started
To get up and running quickly, use
docker run -d --name rcon-web \
-p 4326:4326 -p 4327:4327 \
-e RWA_PASSWORD=password \
itzg/rcon
With that you can follow the regular instructions and access the web UI at http://YOUR_DOCKER_HOST:4326
Options
Environment Variables
RWA_ENV is preset to "TRUE" in this image, so all of the environment variables described in rcon-web-admin are available for use.
RWA_PASSWORD: required to be set for the initial user (by defaultadmin) passwordRWA_RCON_HOST: should be set to the Minecraft server's hostname, such as the service name in a Docker Compose deployment
VOLUMEs
- /opt/rcon-web-admin/db
PORTs
- 4326 : web UI
- 4327 : websocket access from UI
Examples
Running with itzg/minecraft-server
To run this with the itzg/minecraft-server image, simply download/modify
this docker-compose.yml
and then use docker-compose or docker stack deploy -c to bring up the composition.
With that particular composition, configure a new server as shown here (with an RCON password of "testing")

With the server configured, go to the Dashboard and pick the server "minecraft". The following shows adding a "Console" widget and running the "help" command against Minecraft:
