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