-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
54 lines (50 loc) · 1.33 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
version: '3'
services:
mission_data:
build:
context: ./mission_data
stop_signal: SIGKILL # hangs for 10s otherwise, waiting for SIGKILL. Same outcome as before, just faster now.
ports:
- 8086:8086
environment:
- INFLUXDB_CONFIG_PATH=/etc/influxdb/influxdb.conf
volumes:
- ./mission_data/influxdb.conf:/etc/influxdb/influxdb.conf # Map the local config file to the container's config directory
- ./mission_data/templates:/templates
- influxdbv2:/var/lib/influxdb2:rw
env_file:
- .env
mission_api:
build:
context: ./mission_api
ports:
- 8080:8080
depends_on:
- mission_data
volumes:
- ./mission_api:/app
env_file:
- .env
data_ingestion:
build:
context: ./data_ingestion
stop_signal: SIGKILL # hangs for 10s otherwise, waiting for SIGKILL. Same outcome as before, just faster now.
ports:
- 8070:8070
depends_on:
- mission_data
volumes:
- ./data_ingestion:/app
env_file:
- .env
mission_dash:
image: grafana/grafana
ports:
- 3000:3000
volumes:
- ./mission_dash/grafana.yml:/etc/grafana/provisioning/datasources/datasources.yml
- ./mission_dash/dashboards:/etc/grafana/provisioning/dashboards
env_file:
- .env
volumes:
influxdbv2: