From 39a40b153ac29c9b26fdf9e8473046501768234d Mon Sep 17 00:00:00 2001 From: szaimen Date: Tue, 24 May 2022 12:18:38 +0000 Subject: [PATCH] Yaml updates Signed-off-by: GitHub --- manual-install/latest-arm64.yml | 7 +++++++ manual-install/latest.yml | 11 +++++++++++ manual-install/sample.conf | 1 + 3 files changed, 19 insertions(+) diff --git a/manual-install/latest-arm64.yml b/manual-install/latest-arm64.yml index 7330df3a..86c5f4fb 100644 --- a/manual-install/latest-arm64.yml +++ b/manual-install/latest-arm64.yml @@ -16,6 +16,7 @@ services: - COLLABORA_HOST=nextcloud-aio-collabora - TALK_HOST=nextcloud-aio-talk - APACHE_PORT=${APACHE_PORT} + - TZ=${TIMEZONE} volumes: - nextcloud_aio_nextcloud:/var/www/html:ro - nextcloud_aio_apache:/mnt/data:rw @@ -34,6 +35,8 @@ services: - POSTGRES_PASSWORD=${DATABASE_PASSWORD} - POSTGRES_DB=nextcloud_database - POSTGRES_USER=nextcloud + - TZ=${TIMEZONE} + - PGTZ=${TIMEZONE} stop_grace_period: 1800s restart: unless-stopped networks: @@ -71,6 +74,7 @@ services: - COLLABORA_HOST=nextcloud-aio-collabora - TALK_ENABLED=${TALK_ENABLED} - DAILY_BACKUP_RUNNING=${DAILY_BACKUP_RUNNING} + - TZ=${TIMEZONE} stop_grace_period: 10s restart: unless-stopped networks: @@ -81,6 +85,7 @@ services: image: nextcloud/aio-redis:latest-arm64 environment: - REDIS_HOST_PASSWORD=${REDIS_PASSWORD} + - TZ=${TIMEZONE} stop_grace_period: 10s restart: unless-stopped networks: @@ -92,6 +97,7 @@ services: environment: - aliasgroup1=https://${NC_DOMAIN}:443 - extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:logging.level=warning + - TZ=${TIMEZONE} stop_grace_period: 10s restart: unless-stopped networks: @@ -108,6 +114,7 @@ services: - TURN_SECRET=${TURN_SECRET} - SIGNALING_SECRET=${SIGNALING_SECRET} - JANUS_API_KEY=${JANUS_API_KEY} + - TZ=${TIMEZONE} stop_grace_period: 10s restart: unless-stopped networks: diff --git a/manual-install/latest.yml b/manual-install/latest.yml index 0d8bac53..3cf63f82 100644 --- a/manual-install/latest.yml +++ b/manual-install/latest.yml @@ -19,6 +19,7 @@ services: - TALK_HOST=nextcloud-aio-talk - APACHE_PORT=${APACHE_PORT} - ONLYOFFICE_HOST=nextcloud-aio-onlyoffice + - TZ=${TIMEZONE} volumes: - nextcloud_aio_nextcloud:/var/www/html:ro - nextcloud_aio_apache:/mnt/data:rw @@ -37,6 +38,8 @@ services: - POSTGRES_PASSWORD=${DATABASE_PASSWORD} - POSTGRES_DB=nextcloud_database - POSTGRES_USER=nextcloud + - TZ=${TIMEZONE} + - PGTZ=${TIMEZONE} stop_grace_period: 1800s restart: unless-stopped networks: @@ -78,6 +81,7 @@ services: - TALK_ENABLED=${TALK_ENABLED} - ONLYOFFICE_HOST=nextcloud-aio-onlyoffice - DAILY_BACKUP_RUNNING=${DAILY_BACKUP_RUNNING} + - TZ=${TIMEZONE} stop_grace_period: 10s restart: unless-stopped networks: @@ -88,6 +92,7 @@ services: image: nextcloud/aio-redis:latest environment: - REDIS_HOST_PASSWORD=${REDIS_PASSWORD} + - TZ=${TIMEZONE} stop_grace_period: 10s restart: unless-stopped networks: @@ -99,6 +104,7 @@ services: environment: - aliasgroup1=https://${NC_DOMAIN}:443 - extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:logging.level=warning + - TZ=${TIMEZONE} stop_grace_period: 10s restart: unless-stopped networks: @@ -115,6 +121,7 @@ services: - TURN_SECRET=${TURN_SECRET} - SIGNALING_SECRET=${SIGNALING_SECRET} - JANUS_API_KEY=${JANUS_API_KEY} + - TZ=${TIMEZONE} stop_grace_period: 10s restart: unless-stopped networks: @@ -123,6 +130,8 @@ services: nextcloud-aio-clamav: container_name: nextcloud-aio-clamav image: nextcloud/aio-clamav:latest + environment: + - TZ=${TIMEZONE} volumes: - nextcloud_aio_clamav:/var/lib/clamav:rw stop_grace_period: 10s @@ -133,6 +142,8 @@ services: nextcloud-aio-onlyoffice: container_name: nextcloud-aio-onlyoffice image: nextcloud/aio-onlyoffice:latest + environment: + - TZ=${TIMEZONE} volumes: - nextcloud_aio_onlyoffice:/var/lib/onlyoffice:rw stop_grace_period: 10s diff --git a/manual-install/sample.conf b/manual-install/sample.conf index f3968aee..c7f5654c 100644 --- a/manual-install/sample.conf +++ b/manual-install/sample.conf @@ -14,4 +14,5 @@ ONLYOFFICE_ENABLED=no # Setting this to "yes" enables the option in Nex REDIS_PASSWORD= # TODO! This needs to be a unique and good password! SIGNALING_SECRET= # TODO! This needs to be a unique and good password! TALK_ENABLED=yes # Setting this to "yes" enables the option in Nextcloud automatically. +TIMEZONE=Europe/Berlin # TODO! This is the timezone that your containers will use. TURN_SECRET= # TODO! This needs to be a unique and good password!