31 lines
860 B
Plaintext
31 lines
860 B
Plaintext
[Unit]
|
|
Description=Nextcloud cron container
|
|
After=nextcloud-database.container
|
|
After=nextcloud-redis.container
|
|
After=nextcloud.container
|
|
Requires=nextcloud-database.container
|
|
Requires=nextcloud-redis.container
|
|
Requires=nextcloud.container
|
|
|
|
[Container]
|
|
AutoUpdate=registry
|
|
ContainerName=nextcloud-cron
|
|
Entrypoint=/cron.sh
|
|
Environment=TZ=Europe/Zurich
|
|
Image=docker.io/nextcloud:32
|
|
Pod=nextcloud.pod
|
|
StartWithPod=true
|
|
Timezone=Europe/Zurich
|
|
Volume=nextcloud-html.volume:/var/www/html
|
|
Volume=nextcloud-config.volume:/var/www/html/config
|
|
Volume=nextcloud-apps.volume:/var/www/html/custom_apps
|
|
Volume=nextcloud-themes.volume:/var/www/html/themes
|
|
Volume=/var/mnt/nas/containers/nextcloud/storage/redis-session.ini:/usr/local/etc/php/conf.d/redis-session.ini
|
|
Volume=nextcloud-data.volume:/var/www/html/data
|
|
|
|
[Service]
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=default.target
|