Skip to content

Commit

Permalink
Minecraft Server Proxy Using Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
heyvaldemar authored Sep 27, 2024
1 parent 73b26a4 commit b2cc9a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ MINECRAFT_SERVER_TYPE=VELOCITY
# Memory limit
MINECRAFT_SERVER_MEMORY=2G
# Server port
MINECRAFT_SERVER_SERVER_PORT=25565
MINECRAFT_SERVER_PORT=25565
MINECRAFT_BEDROCK_SERVER_PORT=19132
4 changes: 2 additions & 2 deletions minecraft-server-proxy-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ services:
- minecraft-server-lobby-network
- minecraft-server-network
ports:
- "${MINECRAFT_SERVER_SERVER_PORT}:${MINECRAFT_SERVER_SERVER_PORT}"

- "${MINECRAFT_SERVER_PORT}:${MINECRAFT_SERVER_PORT}"
- "${MINECRAFT_BEDROCK_SERVER_PORT}:${MINECRAFT_BEDROCK_SERVER_PORT}/udp"
restart: unless-stopped

0 comments on commit b2cc9a9

Please sign in to comment.