-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
46 lines (43 loc) · 1.15 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
version: "2"
services:
kapacitor:
image: kapacitor:1.0.1
dns: 127.0.0.1
environment:
KAPACITOR_HOSTNAME: kapacitor
KAPACITOR_LOGGING_FILE: '/var/log/kapacitor/kapacitor.log'
KAPACITOR_INFLUXDB_0_URLS_0: 'http://tickscript-studio:8081/'
KAPACITOR_INFLUXDB_0_DISABLE_SUBSCRIPTIONS: 'true'
KAPACITOR_SLACK_ENABLED: 'true'
KAPACITOR_SLACK_URL: 'http://tickscript-studio:8081/alert'
KAPACITOR_SLACK_GLOBAL: 'true'
volumes:
- kapacitorlogs:/var/log/kapacitor
networks:
bridged-network:
aliases:
- kapacitor
tickscript-studio:
image: sequentialread/tickscript-studio:0.0.13
dns:
- 127.0.0.1
- 8.8.8.8
- 8.8.4.4
ports:
- '8081:8081'
environment:
TICKSCRIPT_STUDIO_INFLUXDB_SCHEME: 'http'
TICKSCRIPT_STUDIO_INFLUXDB_HOST: 'my-influx-db.com:8086'
TICKSCRIPT_STUDIO_INFLUXDB_USERNAME: ''
TICKSCRIPT_STUDIO_INFLUXDB_PASSWORD: ''
volumes:
- kapacitorlogs:/var/log/kapacitor
networks:
bridged-network:
aliases:
- tickscript-studio
volumes:
kapacitorlogs:
networks:
bridged-network:
driver: bridge