Skip to content

Instantly share code, notes, and snippets.

@itzg
Last active June 11, 2020 18:09
Show Gist options
  • Select an option

  • Save itzg/7fa420780b5e81e8ec6d3a8317cc5eed to your computer and use it in GitHub Desktop.

Select an option

Save itzg/7fa420780b5e81e8ec6d3a8317cc5eed to your computer and use it in GitHub Desktop.
v1 style example of docker compose for rcon-web-admin
web:
image: itzg/rcon
environment:
RWA_USERNAME: admin
RWA_PASSWORD: admin
RAW_ADMIN: "TRUE"
# is referring to the hostname of 'mc' compose service below
RWA_RCON_HOST: mc
# needs to match the password configured for the container, which is 'minecraft' by default
RWA_RCON_PASSWORD: minecraft
ports:
- 4326:4326
- 4327:4327
links:
- mc
mc:
image: itzg/minecraft-server
ports:
- 25565:25565
environment:
EULA: "TRUE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment