mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-15 10:25:13 +01:00
19 lines
402 B
YAML
19 lines
402 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
mc:
|
|
image: itzg/minecraft-server
|
|
environment:
|
|
EULA: true
|
|
volumes:
|
|
- mc-data:/data
|
|
# No port mapping since mc-router connects over compose network
|
|
router:
|
|
image: itzg/mc-router
|
|
environment:
|
|
DEFAULT: mc:25565
|
|
NGROK_TOKEN: ${NGROK_TOKEN}
|
|
# No port mapping needed since it routes through ngrok tunnel
|
|
|
|
volumes:
|
|
mc-data: {} |