Closed goliafrsigma closed 2 years ago
Hey @goliafrsigma, you must not use "
around your environment-variables when using the .yml
-array syntax.
If you do use "
that way, they will get appended to the variable inside the container. And instead of true
you have "true"
. Which won't work (as you noticed).
Either do:
environment:
- UPDATE_ON_START=true
- BACKUP_ON_STOP=true
- PRE_UPDATE_BACKUP=true
Or:
environment:
UPDATE_ON_START: "true"
BACKUP_ON_STOP: "true"
PRE_UPDATE_BACKUP: "true"
Thank you very much, it's much clearer now!
But what about TZ?
Sorry, I've missed your response. I will check the TZ-Thing out.
Sorry, I've missed your response. I will check the TZ-Thing out.
You can close this issue. TZ env prop works, i did mistake with syntax again.
environment:
- TZ=Europe/Moscow
It works without quotes.
Thanks for helping!
I want to change
TZ
in my server, but env property in docker-compose not working. I know it has't in wiki, but how can i change time zone?DISABLE_BATTLEYE
not working, server still starts with battleye enabled. Judging by the logs of the arkmanagerUPDATE_ON_START
,PRE_UPDATE_BACKUP
,BACKUP_ON_STOP
does't work to.Maybe
"true"
parameter is wrong syntax?