-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (40 loc) · 904 Bytes
/
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
services:
app:
build: .
container_name: weather-app
command: ["local_entrypoint.sh"]
env_file: .env
environment:
PYTHONBREAKPOINT: wdb.set_trace
WDB_SOCKET_SERVER: wdb
WDB_NO_BROWSER_AUTO_OPEN: 1
depends_on:
- influxdb
ports:
- '8000:8000'
volumes:
- '.:/app'
influxdb:
container_name: db
image: influxdb:2.7-alpine
env_file: .influxv2.env
ports:
- "8086:8086"
volumes:
# Mount for influxdb data directory and configuration
- influxdbv2:/var/lib/influxdb2:rw
telegraf:
image: telegraf:1.25-alpine
env_file: .influxv2.env
depends_on:
- influxdb
volumes:
# Mount for telegraf config
- ./telegraf/mytelegraf.conf:/etc/telegraf/telegraf.conf:ro
wdb:
image: 'kozea/wdb:3.3.0'
container_name: wdb
ports:
- '1984:1984'
volumes:
influxdbv2: