Commit b90786ac authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-s/dont-exit-backup-container' into 'dev'

Command to prevent the container from exiting

Closes vdj#925

See merge request !524
parents d8fccc81 f7881885
Pipeline #101043 failed with stages
in 13 minutes and 14 seconds
......@@ -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