Adds auto-update to containers, enables auto-update for root, sync only at 8 and 20, excludes some files from sync
This commit is contained in:
@@ -13,6 +13,7 @@ ContainerName=nextcloud-cron
|
||||
Entrypoint=/cron.sh
|
||||
Environment=TZ=Europe/Zurich
|
||||
Image=docker.io/nextcloud:32
|
||||
Label=io.containers.autoupdate=registry
|
||||
Pod=nextcloud.pod
|
||||
StartWithPod=true
|
||||
Timezone=Europe/Zurich
|
||||
|
||||
@@ -12,6 +12,7 @@ HealthInterval=30s
|
||||
HealthTimeout=10s
|
||||
HealthRetries=5
|
||||
Image=docker.io/postgres:18
|
||||
Label=io.containers.autoupdate=registry
|
||||
Pod=nextcloud.pod
|
||||
Secret=database-password,type=env,target=POSTGRES_PASSWORD
|
||||
StartWithPod=true
|
||||
|
||||
@@ -11,6 +11,7 @@ ContainerName=nextcloud
|
||||
Environment=NC_INSTANCE_URL=http://nextcloud.local
|
||||
Environment=TZ=Europe/Zurich
|
||||
Image=ghcr.io/nextcloud/nextcloud-appapi-harp:release
|
||||
Label=io.containers.autoupdate=registry
|
||||
Pod=nextcloud.pod
|
||||
Secret=hp-key,type=env,target=HP_SHARED_KEY
|
||||
StartWithPod=true
|
||||
|
||||
@@ -7,6 +7,7 @@ ContainerName=nextcloud-redis
|
||||
Environment=TZ=Europe/Zurich
|
||||
Exec=/bin/sh -c 'redis-server --appendonly yes --requirepass $${REDIS_PASSWORD}'
|
||||
Image=docker.io/redis:alpine
|
||||
Label=io.containers.autoupdate=registry
|
||||
Pod=nextcloud.pod
|
||||
Secret=nextcloud-redis-password,type=env,target=REDIS_PASSWORD
|
||||
StartWithPod=true
|
||||
|
||||
@@ -17,6 +17,7 @@ Environment=REDIS_HOST=nextcloud-redis
|
||||
Environment=TRUSTED_PROXIES=192.168.0.0/16 172.16.0.0/12 169.254.0.0/16 10.0.0.0/8
|
||||
Environment=TZ=Europe/Zurich
|
||||
Image=docker.io/nextcloud:32
|
||||
Label=io.containers.autoupdate=registry
|
||||
Pod=nextcloud.pod
|
||||
Secret=database-user,type=env,target=MYSQL_USER
|
||||
Secret=database-password,type=env,target=MYSQL_PASSWORD
|
||||
|
||||
Reference in New Issue
Block a user