easypanel-io/community

How to Setup Postgres Timezone Using Easypanel?

Opened this issue · 0 comments

Hi, i am looking for ways to set Postgres db timezone. Any idea how to do that in easypanel? I can achieve this by running query : "ALTER DATABASE postgres_db SET TIMEZONE TO 'Asia/Jakarta';"

But i want to know if it is possible to set this using ENV field. I saw in some forums that you can set timezone by adding below env :
TZ=Asia/Singapore
PGTZ=Asia/Singapore

I have tried to add both env and hit save but the timezone was not changed. I have clicked stop and start service a few times but same result.

Could you guide me in this case? Thank you..