-
Notifications
You must be signed in to change notification settings - Fork 9
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
Ability to set the timezone cron/ofelia will run in #54
Comments
This works for me: version: "3.9"
services:
ofelia:
image: mcuadros/ofelia:latest
container_name: app-cron
command: daemon --docker
network_mode: none
environment:
TZ: Europe/Rome
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro |
@trane9991 this can be closed. |
Thanks @webysther, but I don't understand, where are you putting that docker configuration? It looks like you're running your own Ofelia container outside of Easy Engine. The question is how do I do that within the context of Easy Engine, given it is a wrapper around Docker, and has it's own The documentation here suggests you can create a custom I've tried creating that file and populating with this configuration version: '3.5'
services:
global-cron:
environment:
- TZ=Melbourne/Australia And then refreshing the containers with But when I connect to the running |
Sorry, wrong repository! Ignore my comment. |
I can't see any way to set the timezone that the cron/ofelia container is using.
For other containers, i.e.
php
, I can set this indocker-compose-custom.yml
, i.e.There should be some way to do this for the cron/ofelia container, since this Ofelia ticket suggests that it does respect
TZ
environment variable if set.My server is in
Australia/Melbourne
, as are most of the containers - except foree-cron-scheduler
which appears to still be inUTC+0
, which is lame as I'd like everything to be using the same timezone.Hope there is a way!
The text was updated successfully, but these errors were encountered: