Define timezone as variable

This commit is contained in:
Jake Howard 2021-02-10 09:12:42 +00:00
parent 635f55d7bf
commit 47df8164fa
Signed by: jake
GPG key ID: 57AFB45680EDD477
11 changed files with 12 additions and 11 deletions

View file

@ -0,0 +1 @@
TZ: Europe/London

View file

@ -4,7 +4,7 @@
- role: geerlingguy.ntp - role: geerlingguy.ntp
become: true become: true
vars: vars:
ntp_timezone: Europe/London ntp_timezone: "{{ TZ }}"
ntp_manage_config: true ntp_manage_config: true
when: ansible_os_family != 'Alpine' # https://github.com/ansible-collections/community.general/issues/781 when: ansible_os_family != 'Alpine' # https://github.com/ansible-collections/community.general/issues/781
- role: realorangeone.reflector - role: realorangeone.reflector

View file

@ -7,7 +7,7 @@ services:
environment: environment:
- PUID={{ docker_user.id }} - PUID={{ docker_user.id }}
- PGID={{ docker_user.id }} - PGID={{ docker_user.id }}
- TZ=Europe/London - TZ={{ TZ }}
volumes: volumes:
- ./deluge:/config - ./deluge:/config
- /mnt/downloads:/downloads - /mnt/downloads:/downloads

View file

@ -6,7 +6,7 @@ services:
environment: environment:
- PUID=0 - PUID=0
- PGID=0 - PGID=0
- TZ=Europe/London - TZ={{ TZ }}
volumes: volumes:
- ./config:/config - ./config:/config
- ./restore:/restore - ./restore:/restore

View file

@ -4,7 +4,7 @@ services:
grafana: grafana:
image: grafana/grafana:latest image: grafana/grafana:latest
environment: environment:
- TZ=Europe/London - TZ={{ TZ }}
- GF_DATABASE_URL=postgres://grafana:grafana@db/grafana - GF_DATABASE_URL=postgres://grafana:grafana@db/grafana
- GF_RENDERING_SERVER_URL=http://renderer:8081/render - GF_RENDERING_SERVER_URL=http://renderer:8081/render
- GF_RENDERING_CALLBACK_URL=http://grafana:3000/ - GF_RENDERING_CALLBACK_URL=http://grafana:3000/
@ -30,4 +30,4 @@ services:
image: grafana/grafana-image-renderer:latest image: grafana/grafana-image-renderer:latest
restart: unless-stopped restart: unless-stopped
environment: environment:
- BROWSER_TZ=Europe/London - BROWSER_TZ={{ TZ }}

View file

@ -5,7 +5,7 @@ services:
environment: environment:
- PUID={{ docker_user.id }} - PUID={{ docker_user.id }}
- PGID={{ docker_user.id }} - PGID={{ docker_user.id }}
- TZ=Europe/London - TZ={{ TZ }}
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./calibre:/config - ./calibre:/config

View file

@ -3,7 +3,7 @@ services:
gotify: gotify:
image: gotify/server:2.0.21 image: gotify/server:2.0.21
environment: environment:
- TZ=Europe/London - TZ={{ TZ }}
volumes: volumes:
- ./data:/app/data - ./data:/app/data
restart: unless-stopped restart: unless-stopped

View file

@ -5,7 +5,7 @@ services:
environment: environment:
- PUID={{ docker_user.id }} - PUID={{ docker_user.id }}
- PGID={{ docker_user.id }} - PGID={{ docker_user.id }}
- TZ=Europe/London - TZ={{ TZ }}
ports: ports:
- 33377:80 - 33377:80
restart: unless-stopped restart: unless-stopped

View file

@ -6,7 +6,7 @@ services:
environment: environment:
- PUID={{ docker_user.id }} - PUID={{ docker_user.id }}
- PGID={{ docker_user.id }} - PGID={{ docker_user.id }}
- TZ=Europe/London - TZ={{ TZ }}
- DOCKER_MODS=theorangeone/lsio-mod-more-processes:latest - DOCKER_MODS=theorangeone/lsio-mod-more-processes:latest
volumes: volumes:
- ./nextcloud/apps:/config/www/nextcloud/apps - ./nextcloud/apps:/config/www/nextcloud/apps

View file

@ -5,7 +5,7 @@ services:
environment: environment:
- PUID={{ docker_user.id }} - PUID={{ docker_user.id }}
- PGID={{ docker_user.id }} - PGID={{ docker_user.id }}
- TZ=Europe/London - TZ={{ TZ }}
- DB_BACKEND=PostgreSQL - DB_BACKEND=PostgreSQL
- DB_PGSQL_USERNAME=quassel - DB_PGSQL_USERNAME=quassel
- DB_PGSQL_PASSWORD=quassel - DB_PGSQL_PASSWORD=quassel

View file

@ -6,7 +6,7 @@ services:
environment: environment:
- PUID={{ docker_user.id }} - PUID={{ docker_user.id }}
- PGID={{ docker_user.id }} - PGID={{ docker_user.id }}
- TZ=Europe/London - TZ={{ TZ }}
volumes: volumes:
- ./tt-rss/config.php:/config/config.php:ro - ./tt-rss/config.php:/config/config.php:ro
- ./tt-rss/feed-icons:/config/feed-icons - ./tt-rss/feed-icons:/config/feed-icons