forked from swisscom/backman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.yml
73 lines (68 loc) · 1.89 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
---
# See manifest.yml documentation available at:
# https://docs.developer.swisscom.com/devguide/deploy-apps/manifest.html
applications:
- name: backman
memory: 1G # mysqldump consumes a lot of memory, no matter how small the database is
disk_quota: 1G
instances: 1
health-check-type: port
routes:
- route: backman.scapp.io
- route: backman.applicationcloud.io
services:
- backman-storage
# - my_mysql_db
# - my_postgres_db
# - my_mongodb
# - my_elasticsearch
# - my_redis
# ### push either as docker image
docker:
image: jamesclonk/backman:1.10.0 # choose version from https://hub.docker.com/r/jamesclonk/backman/tags, or 'latest'
# ### or as buildpack/src
# buildpacks:
# - https://github.com/cloudfoundry/apt-buildpack
# - nodejs_buildpack
# - go_buildpack
# command: backman
# path: .
env:
TZ: Europe/Zurich
BACKMAN_USERNAME: ((username)) # optional, could also be configured in config.json or BACKMAN_CONFIG
BACKMAN_PASSWORD: ((password)) # optional, could also be configured in config.json or BACKMAN_CONFIG
BACKMAN_CONFIG: |
{
"log_level": "debug",
"disable_web": false,
"disable_metrics": false,
"s3": {
"service_label": "dynstrg",
"bucket_name": "backman-storage"
},
"services": {
"my_postgres_db": {
"schedule": "0 0 2,18,22 * * *",
"timeout": "2h",
"retention": {
"days": 90,
"files": 20
}
},
"other_postgres_db": {
"timeout": "2h15m",
"retention": {
"files": 500
}
},
"my_mysql_db": {
"timeout": "35m"
},
"mongodb-for-backend": {
"schedule": "0 45 0/4 * * *",
"retention": {
"files": 500
}
}
}
}