-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (40 loc) · 1.2 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: '3.7'
services:
backup_data: #Dump Data Only
container_name: backup_data
image: deividdy/mysql-bk-s3-ftp:latest
environment:
MYSQLDUMP_OPTIONS: "--default-character-set=utf8 --single-transaction=TRUE --routines --events --no-create-info=TRUE"
MYSQLDUMP_DATABASE: bulla_dfe
MYSQL_HOST: mysql
MYSQL_PORT: 3306
MYSQL_USER: root
MYSQL_PASS: root
S3_ACCESS_KEY_ID: ""
S3_SECRET_ACCESS_KEY: ""
S3_BUCKET: ""
S3_PREFIX: backup
S3_REGION: "us-east-1"
FTP_USER: root
FTP_PASS: root
FTP_HOST: localhost:30000
FTP_PATH: backup
backup_struct: #Dump Struct Only
container_name: backup_struct
image: deividdy/mysql-bk-s3-ftp:latest
environment:
MYSQLDUMP_OPTIONS: "--default-character-set=utf8 --single-transaction=TRUE --no-data --skip-triggers"
MYSQLDUMP_DATABASE: bulla_dfe
MYSQL_HOST: "mysql-srv"
MYSQL_PORT: 3306
MYSQL_USER: root
MYSQL_PASS: root
S3_ACCESS_KEY_ID: ""
S3_SECRET_ACCESS_KEY: ""
S3_BUCKET: ""
S3_PREFIX: backup
S3_REGION: "us-east-1"
FTP_USER: root
FTP_PASS: root
FTP_HOST: localhost:30000
FTP_PATH: backup