mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-30 12:22:57 +00:00
Added timezone option
This commit is contained in:
@@ -25,7 +25,8 @@ ENV PORT= \
|
|||||||
UPDATE_ON_BOOT=true \
|
UPDATE_ON_BOOT=true \
|
||||||
RCON_ENABLED=true \
|
RCON_ENABLED=true \
|
||||||
RCON_PORT=25575 \
|
RCON_PORT=25575 \
|
||||||
QUERY_PORT=27015
|
QUERY_PORT=27015 \
|
||||||
|
TZ=UTC
|
||||||
|
|
||||||
COPY ./scripts/* /home/steam/server/
|
COPY ./scripts/* /home/steam/server/
|
||||||
RUN chmod +x /home/steam/server/init.sh /home/steam/server/start.sh /home/steam/server/backup.sh
|
RUN chmod +x /home/steam/server/init.sh /home/steam/server/start.sh /home/steam/server/backup.sh
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ It is highly recommended you set the following environment values before startin
|
|||||||
|
|
||||||
| Variable | Info | Default Values | Allowed Values |
|
| Variable | Info | Default Values | Allowed Values |
|
||||||
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|----------------|
|
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|----------------|
|
||||||
|
| TZ | Timezone used for time stamping backup server | UTC | See [TZ Identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#Time_Zone_abbreviations) |
|
||||||
| PLAYERS* | Max amount of players that are able to join the server | 16 | 1-31 |
|
| PLAYERS* | Max amount of players that are able to join the server | 16 | 1-31 |
|
||||||
| PORT* | UDP port that the server will expose | 8211 | 1024-65535 |
|
| PORT* | UDP port that the server will expose | 8211 | 1024-65535 |
|
||||||
| PUID* | The uid of the user the server should run as | 1000 | !0 |
|
| PUID* | The uid of the user the server should run as | 1000 | !0 |
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ services:
|
|||||||
- MULTITHREADING=true
|
- MULTITHREADING=true
|
||||||
- RCON_ENABLED=true
|
- RCON_ENABLED=true
|
||||||
- RCON_PORT=25575
|
- RCON_PORT=25575
|
||||||
|
- 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
|
# Enable the environment variables below if you have COMMUNITY=true
|
||||||
|
|||||||
Reference in New Issue
Block a user