Updated docker compose and docker run in readme

This commit is contained in:
Carlos M. Martinez
2024-01-25 20:30:59 -05:00
parent 60071d8d72
commit a64b771ad8

View File

@@ -54,11 +54,10 @@ services:
- MULTITHREADING=true - MULTITHREADING=true
- RCON_ENABLED=true - RCON_ENABLED=true
- RCON_PORT=25575 - RCON_PORT=25575
- TZ=UTC - TZ="UTC"
- ADMIN_PASSWORD="adminPasswordHere" - ADMIN_PASSWORD="adminPasswordHere"
- COMMUNITY=false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD! - 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_NAME="World of Pals"
# - SERVER_NAME="World of Pals"
volumes: volumes:
- ./palworld:/palworld/ - ./palworld:/palworld/
``` ```
@@ -80,10 +79,11 @@ docker run -d \
-e MULTITHREADING=true \ -e MULTITHREADING=true \
-e RCON_ENABLED=true \ -e RCON_ENABLED=true \
-e RCON_PORT=25575 \ -e RCON_PORT=25575 \
-e TZ=UTC \ -e TZ="UTC" \
-e ADMIN_PASSWORD="adminPasswordHere" \ -e ADMIN_PASSWORD="adminPasswordHere" \
-e SERVER_PASSWORD="worldofpals" \ -e SERVER_PASSWORD="worldofpals" \
-e COMMUNITY=false \ -e COMMUNITY=false \
-e SERVER_NAME="World of Pals" \
--restart unless-stopped \ --restart unless-stopped \
thijsvanloef/palworld-server-docker:latest thijsvanloef/palworld-server-docker:latest