Set auto DB backups to optin by default

This commit is contained in:
=
2021-03-03 16:48:54 +11:00
parent 8117d0c5bd
commit 10aaf3fb6e

View File

@@ -40,8 +40,10 @@ services:
- "in5.localhost:192.168.0.124 " #host and ip
db:
build:
context: ./config/mysql
image: mysql:5
# For auto DB backups comment out image and use the build block below
# build:
# context: ./config/mysql
ports:
- "3305:3306"
restart: always
@@ -53,11 +55,11 @@ services:
volumes:
- ./docker/mysql/data:/var/lib/mysql:rw,delegated
# comment out next 4 lines if you don't want auto sql backups
- ./docker/mysql/bak:/backups:rw
- ./config/mysql/backup-script:/etc/cron.daily/daily:ro
- ./config/mysql/backup-script:/etc/cron.weekly/weekly:ro
- ./config/mysql/backup-script:/etc/cron.monthly/monthly:ro
# remove comments for next 4 lines if you want auto sql backups
#- ./docker/mysql/bak:/backups:rw
#- ./config/mysql/backup-script:/etc/cron.daily/daily:ro
#- ./config/mysql/backup-script:/etc/cron.weekly/weekly:ro
#- ./config/mysql/backup-script:/etc/cron.monthly/monthly:ro
networks:
- invoiceninja
extra_hosts: