thijsvanloef / palworld-server-docker

A Docker Container to easily run a Palworld dedicated server.
https://hub.docker.com/r/thijsvanloef/palworld-server-docker
MIT License
2.39k stars 300 forks source link

Can't change ENV parameters in docker-compose.yml (PalWorldSettings.ini doesn't work) #545

Closed Paddy32 closed 2 months ago

Paddy32 commented 2 months ago

Describe the bug

I add env parameters in docker-compose.yml, also through stack editor, and it's not taken into account. I'm trying on palworld to get egg hatching timer down.

To Reproduce

Steps to reproduce the behavior: change docker-compose.yml and it doesn't work

Expected behavior

parameters get update

Actual behavior

Screenshots

image

OS information (IMPORTANT)

Using Marius tutorial to create the server. https://mariushosting.com/how-to-install-palworld-server-on-your-synology-nas/

it works really well

Hardware information (IMPORTANT)

DS923+

docker-compose.yml contents (IMPORTANT)

docker-compose.yml ```yaml version: "3.9" services: palworld: image: thijsvanloef/palworld-server-docker:latest # Use :latest-arm64 tag instead of :latest for arm64 NAS restart: on-failure:5 container_name: Palworld-Server stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop ports: - 8211:8211/udp - 27015:27015/udp environment: - PUID=1026 - PGID=100 - PORT=8211 - PLAYERS=16 - SERVER_PASSWORD=xxxxxxxxxxxxxxxxx - MULTITHREADING=true - RCON_ENABLED=true - RCON_PORT=25575 - TZ=Europe/Paris - ADMIN_PASSWORD=xxxxxxxxxxxxxxxxx # You can secure the access to a server by using the admin password. - COMMUNITY=false # Enable this with true if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD above. - SERVER_NAME=xxxxxxxxxxxxxxxxx - SERVER_DESCRIPTION=xxxxxxxxxxxxxxxxx - BUILD_OBJECT_DETERIORATION_DAMAGE_RATE=0.00000 - DEATH_PENALTY=Item - PAL_EGG_DEFAULT_HATCHING_TIME=0.00000 volumes: - /volume1/docker/palworld-server:/palworld:rw

## Container/Host Logs (IMPORTANT)
<!-- markdownlint-disable-next-line -->
<details><summary>Logs</summary>

```log
<!-- Insert logs here -->

Additional context

Bug Report Checklist

thijsvanloef commented 2 months ago

Is egg hatch time the only parameter not working for you? Also, after changing the egg hatch time and redeploying the stack, are you removing and putting the eggs back in the hatcher?

Also, if you are able to, please provide the contents of your PalWorldSettings.ini

Paddy32 commented 2 months ago

I feel stupid. I just had to place new eggs and it worked. For 7 hours I was trying all kinds of crazy solutions but didn't bother to test on new egg. I feel tired and relieved.