Skip to main content

Display log timestamps in local time, rather than UTC?

If easy to do, it would be nice to have.

Status: Completed1 comment

Log in to comment and vote

Comments1

  • VideoDad

    •

    Jan 17, 2025

    It seems to work if you manually add entries to docker-compose.yml.

    app:

    environment:

    - TZ=America/Los_Angeles

    db:

    environment:

    - TZ=America/Los_Angeles

    You can find a list of TZ identifiers here:

    https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

    Common examples:

    America/Los_Angeles

    America/Denver

    America/Chicago

    America/New_York