mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-04-07 06:08:51 +00:00
misc: organize more of examples into subdirs as compose projects (#3608)
This commit is contained in:
23
examples/ngrok/compose.yml
Normal file
23
examples/ngrok/compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
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: ngrok/ngrok:latest
|
||||
command:
|
||||
- "tcp"
|
||||
- "mc:25565"
|
||||
environment:
|
||||
NGROK_AUTHTOKEN: <YourAuthTokenHere>
|
||||
ports:
|
||||
- 4551:4551
|
||||
Reference in New Issue
Block a user