Disabled Cron for now
This commit is contained in:
@@ -10,4 +10,5 @@
|
|||||||
|
|
||||||
## To-Do's
|
## To-Do's
|
||||||
|
|
||||||
* Explain how to manually setup Redis
|
* Explain how to manually setup Redis
|
||||||
|
* Fix Cron container, does not yet properly execute yet
|
||||||
@@ -1,24 +1,24 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
cron:
|
# cron:
|
||||||
image: nextcloud:apache
|
# image: nextcloud:apache
|
||||||
dns: # Using Cloudflare DNS
|
# dns: # Using Cloudflare DNS
|
||||||
- 1.1.1.1
|
# - 1.1.1.1
|
||||||
- 1.0.0.1
|
# - 1.0.0.1
|
||||||
entrypoint: | # www-data uid: 82
|
# entrypoint: | # www-data uid: 82
|
||||||
sh -c 'sh -s <<EOF
|
# sh -c 'sh -s <<EOF
|
||||||
trap "break;exit" SIGHUP SIGINT SIGTERM
|
# trap "break;exit" SIGHUP SIGINT SIGTERM
|
||||||
while /bin/true; do
|
# while /bin/true; do
|
||||||
su -s "/bin/sh" -c "/usr/local/bin/php /var/www/html/cron.php" www-data
|
# su -s "/bin/sh" -c "/usr/local/bin/php /var/www/html/cron.php" www-data
|
||||||
echo $$(date) - Running cron finished
|
# echo $$(date) - Running cron finished
|
||||||
sleep 900
|
# sleep 900
|
||||||
done
|
# done
|
||||||
EOF'
|
# EOF'
|
||||||
restart: on-failure
|
# restart: on-failure
|
||||||
user: "www-data"
|
# user: "www-data"
|
||||||
volumes_from:
|
# volumes_from:
|
||||||
- nginx
|
# - nginx
|
||||||
nextcloud:
|
nextcloud:
|
||||||
image: nextcloud:apache
|
image: nextcloud:apache
|
||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
@@ -37,7 +37,7 @@ services:
|
|||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
io.rancher.sidekicks: cron
|
# io.rancher.sidekicks: cron
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
### Start Nextcloud Segment
|
### Start Nextcloud Segment
|
||||||
traefik.nextcloud.frontend.entryPoints: http,https
|
traefik.nextcloud.frontend.entryPoints: http,https
|
||||||
|
|||||||
Reference in New Issue
Block a user