Replace instances of hard-coded port in ports variable with SERVER_PORT variable in yml files (#1457)

This commit is contained in:
Logan Gibson
2026-04-02 00:43:33 -07:00
committed by GitHub
parent c4c4c08b96
commit e4c08b8414
2 changed files with 4 additions and 4 deletions

View File

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

View File

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