Replace instances of hard-coded port in ports variable with SERVER_PORT variable in yml files

This commit is contained in:
BrainFart17 2026-04-01 18:59:47 -07:00
parent c2356bf29e
commit 779683bb46
2 changed files with 4 additions and 4 deletions

View file

@ -22,8 +22,8 @@ services:
# - wineprefix64:/var/opt/wineprefix64
- ./server-data:/srv/persist
ports:
- "25565:25565/tcp"
- "25565:25565/udp"
- "$SERVER_PORT:$SERVER_PORT/tcp"
- "$SERVER_PORT:$SERVER_PORT/udp"
stop_grace_period: 30s
# volumes:

View file

@ -26,8 +26,8 @@ services:
# - wineprefix64:/var/opt/wineprefix64
- ./server-data:/srv/persist
ports:
- "25565:25565/tcp"
- "25565:25565/udp"
- "$SERVER_PORT:$SERVER_PORT/tcp"
- "$SERVER_PORT:$SERVER_PORT/udp"
stop_grace_period: 30s
# volumes: