Replace instances of hard-coded port in ports variable with SERVER_PORT variable in yml files (#1457)
This commit is contained in:
parent
c4c4c08b96
commit
e4c08b8414
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue