mc-router/docs/docker-compose.yml
2019-07-27 11:36:16 -05:00

19 lines
357 B
YAML

version: '3.4'
services:
vanilla:
image: itzg/minecraft-server
environment:
EULA: "TRUE"
forge:
image: itzg/minecraft-server
environment:
EULA: "TRUE"
TYPE: FORGE
router:
image: itzg/mc-router
ports:
- 25565:25565
command: --mapping=vanilla.example.com=vanilla:25565,forge.example.com=forge:25565