-
Notifications
You must be signed in to change notification settings - Fork 0
/
depcon.yml
51 lines (51 loc) · 1.08 KB
/
depcon.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
id: /bots/kirk/slackbot
cpus: 0.5
mem: 600.0
instances: 1
constraints:
- - hostname
- UNIQUE
container:
type: DOCKER
docker:
image: containx/kirk:${VERSION}
network: BRIDGE
forcePullImage: false
parameters:
- key: hostname
value: kirk.containx.local
- key: net
value: weave
- key: env
value: MONGO_URL=mongodb://kirk-mongo.containx.local:27017
- key: env
value: SLACK_CLIENT_ID=${SLACK_CLIENT_ID}
- key: env
value: SLACK_CLIENT_SECRET=${SLACK_CLIENT_SECRET}
- key: env
value: PUBLIC_HOST=kirkbot.com
- key: env
value: APP_ENV=production
portMappings:
- containerPort: 8080
hostPort: 0
servicePort: 8150
protocol: tcp
uris:
- file:///etc/docker.tar.gz
labels:
group: bot
role: kirk
HAPROXY_GROUP: external
HAPROXY_0_VHOST: kirkbot
MARATHON_SINGLE_INSTANCE_APP: "true"
upgradeStrategy:
maximumOverCapacity: 0
minimumHealthCapacity: 0
healthChecks:
- portIndex: 0
protocol: TCP
gracePeriodSeconds: 300
intervalSeconds: 30
timeoutSeconds: 20
maxConsecutiveFailures: 3