Skip to content

Ability to set the timezone cron/ofelia will run in #54

Description

@asgeo1

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 in docker-compose-custom.yml, i.e.

version: '3.5'

services:

  php:
    environment:
      - TZ=Australia/Melbourne
    volumes:
      - "/etc/timezone:/etc/timezone:ro"
      - "/etc/localtime:/etc/localtime:ro"

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 for ee-cron-scheduler which appears to still be in UTC+0, which is lame as I'd like everything to be using the same timezone.

Hope there is a way!

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