Skip to content

Commit

Permalink
Add Ngrok example (#2328)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atlas16A authored Aug 13, 2023
1 parent 9eb1fba commit 316b79b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions examples/docker-compose-ngrok.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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

0 comments on commit 316b79b

Please sign in to comment.