mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-23 07:27:20 +00:00
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
|
||||
- ./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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue