Install with docker: Default timezone is not valid

I’ve install n8n with Docker and I want set default timezone is Asia/Ho_Chi_Minh but when I’ve add


the environment section of the docker-compose.yml file like this:

      - GENERIC_TIMEZONE="Asia/Ho_Chi_Minh"   

But when go to settings of new workflow, It shows that like picture, how can I have default timezone Asia/Ho_Chi_Minh for new workflow?

If I test exactly the same with the following simple command it works totally fine for me:

docker run -it --rm \
	--name n8n \
	-p 5678:5678 \
	-e GENERIC_TIMEZONE="Asia/Ho_Chi_Minh" \
	-v ~/.n8n:/root/.n8n \

Maybe the quotes cause problems in your case as you use docker-compose.yml file. Try removing them.

1 Like

Thank you very much, remove quotes is solution! :slight_smile:

So do you think should update docs Timezone in

Glad to hear that it worked.

Theoretically, an update should not be needed as the documentation is correct and works like this. Only in the context of a docker-compose.yml file that is different. Anyway, because it also works without quotes from the terminal did I remove the quotes from all examples where that is the case and only left them where they are really required.

Got already committed and will be visible the next days with the next docs-release.