Added ngrok support (#222)

This commit is contained in:
Geoff Bourne
2023-09-09 12:06:59 -05:00
committed by GitHub
parent 25601c65a6
commit afdca5646e
8 changed files with 247 additions and 108 deletions
+19
View File
@@ -0,0 +1,19 @@
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: {}