Page tree
Skip to end of metadata
Go to start of metadata

Versions of Ubersmith prior to 4.6.0 relied on the time zone configuration within the individual Ubersmith containers. Newer versions of Ubersmith now support the configuration of a TIMEZONE environment variable. The value used by the TIMEZONE variable must match the time zone values supported by the PHP programming language, which can be found here.

To set the TIMEZONE environment variable,

  1. Edit the docker-compose.override.yml file. This file has a default location of /usr/local/ubersmith.
  2. In the environment section of the web service, create a new variable and provide a supported time zone value. For example: 

    TIMEZONE: America/New_York

  3. Save the file.
  4. Recreate the web container by running the following command:

    ~/.local/bin/docker-compose up -d web

On this page:

Related Topics