Minor cron update
This commit is contained in:
@@ -10,7 +10,6 @@ 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
|
|
||||||
links:
|
links:
|
||||||
- mysql
|
- mysql
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
@@ -30,7 +29,7 @@ services:
|
|||||||
while /bin/true; do
|
while /bin/true; do
|
||||||
./artisan ninja:send-invoices
|
./artisan ninja:send-invoices
|
||||||
./artisan ninja:send-reminders
|
./artisan ninja:send-reminders
|
||||||
sleep 1h
|
sleep 1d
|
||||||
done
|
done
|
||||||
EOF'
|
EOF'
|
||||||
labels:
|
labels:
|
||||||
@@ -82,6 +81,7 @@ services:
|
|||||||
{{- else}}
|
{{- else}}
|
||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
io.rancher.sidekicks: app, cron
|
||||||
links:
|
links:
|
||||||
- app
|
- app
|
||||||
networks:
|
networks:
|
||||||
@@ -90,10 +90,9 @@ services:
|
|||||||
- "${WEB_PORT}:80"
|
- "${WEB_PORT}:80"
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- /RancherCattleConfig/${DATA_DIR}/.env:/var/www/app/.env
|
|
||||||
- /RancherCattleData/${DATA_DIR}/Logo:/var/www/app/public/logo
|
|
||||||
- /RancherCattleData/${DATA_DIR}/Storage:/var/www/app/storage
|
|
||||||
- /RancherCattleConfig/${DATA_DIR}/nginx.conf:/etc/nginx/nginx.conf:ro
|
- /RancherCattleConfig/${DATA_DIR}/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
|
volumes_from:
|
||||||
|
- app
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
public-proxy:
|
public-proxy:
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ services:
|
|||||||
while /bin/true; do
|
while /bin/true; do
|
||||||
./artisan ninja:send-invoices
|
./artisan ninja:send-invoices
|
||||||
./artisan ninja:send-reminders
|
./artisan ninja:send-reminders
|
||||||
sleep 1h
|
sleep 1d
|
||||||
done
|
done
|
||||||
EOF'
|
EOF'
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Reference in New Issue
Block a user