[DiscordArchive] Do you recompile after making this change?
[DiscordArchive] Do you recompile after making this change?
Archived author: LightsaberTrix • Posted: 2023-09-23T22:04:42.643000+00:00
Original source
Do you recompile after making this change?
Archived author: KJack • Posted: 2023-09-23T22:05:16.102000+00:00
Original source
you'll need to rebuild the docker image
Archived author: LightsaberTrix • Posted: 2023-09-23T22:05:45.720000+00:00
Original source
I'll give that a go now.
Archived author: mynameismeat • Posted: 2023-09-23T22:06:58.235000+00:00
Original source
I'm not sure if the TZ is compiled into the server but there may be the option of just setting the TZ env var in `docker-compose.yml` or `conf/dist/env.ac`
Archived author: KJack • Posted: 2023-09-23T22:07:45.726000+00:00
Original source
yeah, i put mine in the Dockerfile but you might be able to do it at runtime. depends on if the env var is read at runtime or when tzdata is configured
Archived author: LightsaberTrix • Posted: 2023-09-23T22:08:32.688000+00:00
Original source
Just updated to ENV TZ=America/Los_Angeles and running a build now.
Archived author: LightsaberTrix • Posted: 2023-09-23T22:21:29.541000+00:00
Original source
Hmm no luck. I updated all TZ variables in \azerothcore-wotlk\apps\docker\Dockerfile to ENV TZ=America/Los_Angeles, followed by a rebuild - ./acore.sh docker build.
Archived author: LightsaberTrix • Posted: 2023-09-23T22:21:44.470000+00:00
Original source
Signed in with a toon on the server and TZ is still UTC
Archived author: Fijahh • Posted: 2023-09-25T20:45:20.576000+00:00
Original source
If you're using docker-compose, you can set it in there, that's how I have it, works great - physical server is UTC, realm time runs on PST
Archived author: Fijahh • Posted: 2023-09-25T20:46:38.071000+00:00
Original source
I'm still using acore-docker so my docker compose file may look different than yours, but basically in the 'environment:' section of the ac-authserver and ac-worldserver services I added
TZ: "America/Vancouver"