Add localtime to docker compose volumes

This is so that the server's timezone is automatically
passed to the container, for when using custom API
widgets which need to show absolute time
This commit is contained in:
Svilen Markov
2025-08-05 16:04:55 +01:00
parent e447cf39c2
commit fc59b5947d
2 changed files with 3 additions and 2 deletions

View File

@ -79,7 +79,7 @@ pages:
channels: channels:
- theprimeagen - theprimeagen
- j_blow - j_blow
- piratesoftware - giantwaffle
- cohhcarnage - cohhcarnage
- christitustech - christitustech
- EJ_SA - EJ_SA
@ -197,6 +197,7 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./config:/app/config - ./config:/app/config
- /etc/localtime:/etc/localtime:ro
ports: ports:
- 8080:8080 - 8080:8080
``` ```

View File

@ -27,7 +27,7 @@ pages:
channels: channels:
- theprimeagen - theprimeagen
- j_blow - j_blow
- piratesoftware - giantwaffle
- cohhcarnage - cohhcarnage
- christitustech - christitustech
- EJ_SA - EJ_SA