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

Include a mechanism to set local timezone #58

Open
Goro2030 opened this issue Sep 5, 2021 · 2 comments
Open

Include a mechanism to set local timezone #58

Goro2030 opened this issue Sep 5, 2021 · 2 comments

Comments

@Goro2030
Copy link

Goro2030 commented Sep 5, 2021

It would be great if one could pass the local timezone variable to the container to use, especially handy for the bitcoin debug.log.

For this to work , it requires the tzdata package installed in the image, according to this wiki article.

Then the user would pass an environment variable in compose:

environment:
      - TZ=America/Santiago

or a -e in the docker command line.

@nolim1t
Copy link
Member

nolim1t commented Sep 5, 2021

Thanks will consider it in the next build

@nolim1t
Copy link
Member

nolim1t commented Sep 5, 2021

Or maybe symlinking /etc/localtime might work better too as there would be less moving parts in the container?

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