Re-enabled Cron

This commit is contained in:
WilliamMiceli
2019-01-07 11:49:16 -05:00
parent 34b3bd79c7
commit f2016d750e

View File

@@ -21,24 +21,24 @@ services:
traefik.enable: false traefik.enable: false
restart: on-failure restart: on-failure
{{- end}} {{- end}}
# cron: cron:
# image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
# 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: | entrypoint: |
# 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:fpm-alpine image: nextcloud:fpm-alpine
dns: # Using Cloudflare DNS dns: # Using Cloudflare DNS
@@ -62,7 +62,6 @@ services:
{{- end}} {{- end}}
traefik.enable: false traefik.enable: false
links: links:
# - cron
- mysql - mysql
{{- if eq .Values.REDIS "true"}} {{- if eq .Values.REDIS "true"}}
- redis - redis