Define timezone as variable
This commit is contained in:
parent
635f55d7bf
commit
47df8164fa
11 changed files with 12 additions and 11 deletions
1
ansible/group_vars/all/base.yml
Normal file
1
ansible/group_vars/all/base.yml
Normal file
|
@ -0,0 +1 @@
|
|||
TZ: Europe/London
|
|
@ -4,7 +4,7 @@
|
|||
- role: geerlingguy.ntp
|
||||
become: true
|
||||
vars:
|
||||
ntp_timezone: Europe/London
|
||||
ntp_timezone: "{{ TZ }}"
|
||||
ntp_manage_config: true
|
||||
when: ansible_os_family != 'Alpine' # https://github.com/ansible-collections/community.general/issues/781
|
||||
- role: realorangeone.reflector
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
environment:
|
||||
- PUID={{ docker_user.id }}
|
||||
- PGID={{ docker_user.id }}
|
||||
- TZ=Europe/London
|
||||
- TZ={{ TZ }}
|
||||
volumes:
|
||||
- ./deluge:/config
|
||||
- /mnt/downloads:/downloads
|
||||
|
|
|
@ -6,7 +6,7 @@ services:
|
|||
environment:
|
||||
- PUID=0
|
||||
- PGID=0
|
||||
- TZ=Europe/London
|
||||
- TZ={{ TZ }}
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- ./restore:/restore
|
||||
|
|
|
@ -4,7 +4,7 @@ services:
|
|||
grafana:
|
||||
image: grafana/grafana:latest
|
||||
environment:
|
||||
- TZ=Europe/London
|
||||
- TZ={{ TZ }}
|
||||
- GF_DATABASE_URL=postgres://grafana:grafana@db/grafana
|
||||
- GF_RENDERING_SERVER_URL=http://renderer:8081/render
|
||||
- GF_RENDERING_CALLBACK_URL=http://grafana:3000/
|
||||
|
@ -30,4 +30,4 @@ services:
|
|||
image: grafana/grafana-image-renderer:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- BROWSER_TZ=Europe/London
|
||||
- BROWSER_TZ={{ TZ }}
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
environment:
|
||||
- PUID={{ docker_user.id }}
|
||||
- PGID={{ docker_user.id }}
|
||||
- TZ=Europe/London
|
||||
- TZ={{ TZ }}
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./calibre:/config
|
||||
|
|
|
@ -3,7 +3,7 @@ services:
|
|||
gotify:
|
||||
image: gotify/server:2.0.21
|
||||
environment:
|
||||
- TZ=Europe/London
|
||||
- TZ={{ TZ }}
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
restart: unless-stopped
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
environment:
|
||||
- PUID={{ docker_user.id }}
|
||||
- PGID={{ docker_user.id }}
|
||||
- TZ=Europe/London
|
||||
- TZ={{ TZ }}
|
||||
ports:
|
||||
- 33377:80
|
||||
restart: unless-stopped
|
||||
|
|
|
@ -6,7 +6,7 @@ services:
|
|||
environment:
|
||||
- PUID={{ docker_user.id }}
|
||||
- PGID={{ docker_user.id }}
|
||||
- TZ=Europe/London
|
||||
- TZ={{ TZ }}
|
||||
- DOCKER_MODS=theorangeone/lsio-mod-more-processes:latest
|
||||
volumes:
|
||||
- ./nextcloud/apps:/config/www/nextcloud/apps
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
environment:
|
||||
- PUID={{ docker_user.id }}
|
||||
- PGID={{ docker_user.id }}
|
||||
- TZ=Europe/London
|
||||
- TZ={{ TZ }}
|
||||
- DB_BACKEND=PostgreSQL
|
||||
- DB_PGSQL_USERNAME=quassel
|
||||
- DB_PGSQL_PASSWORD=quassel
|
||||
|
|
|
@ -6,7 +6,7 @@ services:
|
|||
environment:
|
||||
- PUID={{ docker_user.id }}
|
||||
- PGID={{ docker_user.id }}
|
||||
- TZ=Europe/London
|
||||
- TZ={{ TZ }}
|
||||
volumes:
|
||||
- ./tt-rss/config.php:/config/config.php:ro
|
||||
- ./tt-rss/feed-icons:/config/feed-icons
|
||||
|
|
Loading…
Reference in a new issue