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