27 regels
659 B
INI
27 regels
659 B
INI
[Unit]
|
|
Name=nextcloud-push
|
|
Requires=nextcloud.service
|
|
After=nextcloud.service
|
|
|
|
[Container]
|
|
ContainerName=nextcloud-push
|
|
Image=docker.io/nextcloud:latest
|
|
Network=internal.network
|
|
|
|
PublishPort=7867:7867
|
|
|
|
Volume=/srv/containers/nextcloud/config:/var/www/html/config
|
|
Volume=/srv/containers/nextcloud/custom_apps:/var/www/html/custom_apps
|
|
Volume=/srv/containers/nextcloud/data:/var/www/html/data
|
|
|
|
Environment=PORT=7867
|
|
Environment=NEXTCLOUD_URL=https://cloud.[DOMAIN]
|
|
|
|
Exec=/var/www/html/custom_apps/notify_push/bin/x86_64/notify_push /var/www/html/config/config.php
|
|
|
|
[Service]
|
|
Restart=always
|
|
TimeoutStartSec=5m
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target default.target |