Container Time and date for logs

Set the correct timezone in the host

  • Ubuntu
    timedatectl set-timezone Europe/Paris
    timedatectl
    

    -containers

Update your docker-compose.yml with the following lines.

volumes:
    - "/etc/timezone:/etc/timezone:ro"
    - "/etc/localtime:/etc/localtime:ro"