-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmanifest.yml
78 lines (78 loc) · 2.05 KB
/
manifest.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
applications:
- name: dumptruck
memory: 128M
disk_quota: 2G
no-route: true
health-check-type: process
docker:
image: meshcloud/dumptruck
services:
- mydb-mongodb
- mydb-mysql
- mydb-postgres
env:
CRONTAB: |
0 1 * * * /app/dumptruck.py /app/config.json
CONFIG_JSON: |
{
"encryption": "********",
"sources": [
{
"name": "db-prod",
"dbtype": "mysql",
"host": "db-galera-prod-0",
"database": "data",
"username": "backup",
"password": "********",
"keep": 14,
"tunnel": "backup@jumphost"
},
{
"name": "db-dev",
"dbtype": "mysql",
"host": "db-dev",
"database": "data"
"username": "backup",
"password": "********",
"keep": 7
},
{
"name": "store-prod",
"dbtype": "mongo",
"host": "172.16.105.19",
"database": "store",
"username": "backup",
"password": "********",
"keep": 7
}
],
"storage": [
{
"type": "swift"
"auth_url": "https://ouropenstack:5000/v3",
"username": "backup",
"user_domain_id": "********",
"password": "********",
"project_id": "********",
"container_url": "https://ourswift/swift/v1/ourbackups"
},
{
"type: "rclone",
"remote: "sftphost",
"target: "backups"
}
],
"monitor": {
"url": "https://ourpushgateway/",
"username": "push",
"password": "********"
}
}
CONFIG_RCLONE: |
[sftphost]
type = sftp
host = remote
user = root
pass = 5OAHQo77-bavIUJcGvG5kCV85jM
port = 22