Commit f7881885 authored by Vidjil Team's avatar Vidjil Team Committed by Mikaël Salson

docker-compose.yml: Command to prevent the container from exiting

Fix vdj#925
parent d8fccc81
Pipeline #100507 passed with stages
in 9 minutes and 1 second
......@@ -59,7 +59,7 @@ services:
- mysql
backup:
image: vidjil/server:latest
command: bash -c "echo '0 5 * * * cd /usr/share/vidjil/server; sh backup.sh /mnt/backup 2>1&' > /etc/cron.d/backup-cron && cron"
command: bash -c "echo '0 5 * * * cd /usr/share/vidjil/server; sh backup.sh /mnt/backup 2>1&' > /etc/cron.d/backup-cron && cron && tail -f /var/log/cron.log"
volumes_from:
- uwsgi
links:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment