mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
Merge branch 'main' of https://github.com/thijsvanloef/palworld-server-docker
This commit is contained in:
@@ -13,7 +13,8 @@ ENV PORT=8211 \
|
||||
COMMUNITY=false \
|
||||
PUBLIC_IP= \
|
||||
PUBLIC_PORT= \
|
||||
SERVER_PASSWORD=
|
||||
SERVER_PASSWORD= \
|
||||
SERVER_NAME=
|
||||
|
||||
COPY ./scripts/* /home/steam/server/
|
||||
RUN chmod +x /home/steam/server/init.sh /home/steam/server/start.sh
|
||||
|
||||
@@ -75,7 +75,8 @@ It is highly recommended you set the following environment values before startin
|
||||
| COMMUNITY | Whether or not the server shows up in the community server browser (USE WITH SERVER_PASSWORD) | false | true/false |
|
||||
| PUBLIC_IP | You can manually specify the global IP address of the network on which the server running.If not specified, it will be detected automatically. If it does not work well, try manual configuration. | | x.x.x.x |
|
||||
| PUBLIC_PORT | You can manually specify the port number of the network on which the server running.If not specified, it will be detected automatically. If it does not work well, try manual configuration. | | x.x.x.x |
|
||||
| SERVER_PASSWORD | Secure your community server with a password | | string |
|
||||
| SERVER_NAME | A name for your community server | | "string" |
|
||||
| SERVER_PASSWORD | Secure your community server with a password | | "string" |
|
||||
|
||||
*highly recommended to set
|
||||
|
||||
|
||||
@@ -11,5 +11,10 @@ services:
|
||||
- PLAYERS=16
|
||||
- MULTITHREADING=false
|
||||
- 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
|
||||
# - PUBLIC_PORT=123
|
||||
# - PUBLIC_IP=123
|
||||
# - SERVER_PASSWORD="worldofpals"
|
||||
# - SERVER_NAME="World of Pals"
|
||||
volumes:
|
||||
- ./palworld:/palworld/
|
||||
@@ -16,6 +16,10 @@ if [ -n "${PUBLIC_PORT}" ]; then
|
||||
STARTCOMMAND="${STARTCOMMAND} -publiport=${PUBLIC_PORT}"
|
||||
fi
|
||||
|
||||
if [ -n "${SERVER_NAME}" ]; then
|
||||
STARTCOMMAND="${STARTCOMMAND} -servername=${SERVER_NAME}"
|
||||
fi
|
||||
|
||||
if [ -n "${SERVER_PASSWORD}" ]; then
|
||||
STARTCOMMAND="${STARTCOMMAND} -serverpassword=${SERVER_PASSWORD}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user