-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (60 loc) · 1.48 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: "3.3"
services:
influxdb:
image: quay.io/influxdb/influxdb:2.0.0-rc
deploy:
replicas: 1
volumes:
- /volume1/influxdb/.influxdbv2:/root/.influxdbv2
ports:
- target: 8086
published: 9999
mode: host
stats:
image: softener_stats
deploy:
replicas: 1
configs:
- source: influxdb_url
target: /run/config/influxdb_url
- source: influxdb_org
target: /run/config/influxdb_org
- source: influxdb_bucket
target: /run/config/influxdb_bucket
- source: plug_host
target: /run/config/plug_host
secrets:
- influxdb_token
alerts:
image: softener_alerts
ports:
- target: 80
published: 9998
mode: host
deploy:
replicas: 1
configs:
- source: mail_from
target: /run/config/mail_from
- source: mail_to
target: /run/config/mail_to
secrets:
- sendgrid_api_key
secrets:
influxdb_token:
external: true
sendgrid_api_key:
external: true
configs:
influxdb_url:
external: true
influxdb_org:
external: true
influxdb_bucket:
external: true
plug_host:
external: true
mail_from:
external: true
mail_to:
external: true