make port and players optional

This commit is contained in:
Thijs van Loef
2024-01-21 20:04:45 +01:00
parent b7fc8d5cc6
commit 625e1c793a
4 changed files with 18 additions and 13 deletions

View File

@@ -7,12 +7,11 @@ services:
- 8211:8211/udp
- 27015:27015/udp
environment:
- PORT=8211
- PUID=1000
- PGID=1000
- PLAYERS=16
- PORT=8211 # Optional but recommended
- PLAYERS=16 # Optional but recommended
- MULTITHREADING=false
- UPDATE_ON_BOOT=true
- COMMUNITY=false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
# Enable the environment variables below if you have COMMUNITY=true
# - SERVER_PASSWORD="worldofpals"