mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-29 12:45:12 +01:00
19 lines
357 B
YAML
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
|
||
|
|