Skip to content

How to Setup Postgres Timezone Using Easypanel? #87

Open

Description

@Faridalim

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..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions