Skip to content

Commit 316b79b

Browse files
authored
Add Ngrok example (#2328)
1 parent 9eb1fba commit 316b79b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

examples/docker-compose-ngrok.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: "3.8"
2+
3+
services:
4+
mc:
5+
image: itzg/minecraft-server
6+
tty: true
7+
stdin_open: true
8+
ports:
9+
- "25565:25565"
10+
environment:
11+
EULA: "TRUE"
12+
restart: unless-stopped
13+
volumes:
14+
# attach the relative directory 'data' to the container's /data path
15+
- ./data:/data
16+
17+
ngrok:
18+
image: shkoliar/ngrok:latest
19+
ports:
20+
- 4551:4551
21+
environment:
22+
- PARAMS=tcp -region=us -authtoken=YourAuthTokenHere mc:25565

0 commit comments

Comments
 (0)