Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TZ not available in compose file as well as few PROJ dir #87

Open
flowcool opened this issue Aug 27, 2024 · 4 comments
Open

TZ not available in compose file as well as few PROJ dir #87

flowcool opened this issue Aug 27, 2024 · 4 comments

Comments

@flowcool
Copy link

Hello,

I believe we can had TZ as variable in env and compose file.

I noticed also a few env variable not declared any where. Personally I added them into my env. file:

AIRFLOW_PROJ_DIR=
POSTGRES_PROJ_DIR=
REDIS_PROJ_DIR=
MYSQL_PROJ_DIR=
MILVUS_PROJ_DIR=
@finaldie
Copy link
Owner

Hi @flowcool

The above vars are only for docker installation which is defined in the install.env. Since the system is currently using the UTC timezone, may I learn what's the use case for the TZ var? Thanks.

@flowcool
Copy link
Author

Hello,

Thanks for clarification of install.env; I might have missed that.

I personally use TZ in all setup to have time adjusted to my Timezone, easier to troubleshoot when we're looking at the logs (what I'm doing a lot on this project). It's clearly not a must but probably more a best practice.

I can share my conf if you want to have a look

@finaldie
Copy link
Owner

Cool, thanks for sharing. Yes, I would appreciate it if you could share your configuration so I can learn from it.

I used that timezone switch button from Airflow to toggle the UTC and local time.
image

@flowcool
Copy link
Author

Please find compose attached and env file needs to have:
TZ=Europe/Paris (Anything you want)

For the compose, I added TZ for DBs too.

Cheers,
docker-compose.yaml.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants