backup-docker/docker-compose.yml
Niklas 786a6f9f7e
All checks were successful
continuous-integration/drone/push Build is passing
added mysqldump
2021-03-30 22:09:32 +02:00

17 lines
400 B
YAML

version: "3"
services:
backup:
build: .
# entrypoint: /app/init.sh
environment:
- RCLONE_REMOTE=gdrive:/backupTest
- RCLONE_CONFIG=/config/rclone.conf
- RESTIC_PASSWORD=repopw
- MYSQL_USERNAME=dbuser
- MYSQL_PASSWORD=dbPassword
- MYSQL_DUMP_DB=dbName1,dbName2
- MYSQL_HOST=mariadb
volumes:
- ./mounts:/backup
- ./config:/config