mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 22:02:28 +00:00
23 lines
485 B
YAML
23 lines
485 B
YAML
|
version: "3.8"
|
||
|
|
||
|
services:
|
||
|
mc:
|
||
|
image: itzg/minecraft-server
|
||
|
tty: true
|
||
|
stdin_open: true
|
||
|
ports:
|
||
|
- "25565:25565"
|
||
|
environment:
|
||
|
EULA: "TRUE"
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
# attach the relative directory 'data' to the container's /data path
|
||
|
- ./data:/data
|
||
|
|
||
|
ngrok:
|
||
|
image: shkoliar/ngrok:latest
|
||
|
ports:
|
||
|
- 4551:4551
|
||
|
environment:
|
||
|
- PARAMS=tcp -region=us -authtoken=YourAuthTokenHere mc:25565
|