-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
108 lines (98 loc) · 2.17 KB
/
docker-compose.dev.yml
File metadata and controls
108 lines (98 loc) · 2.17 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# DEV SETUP
# Connector is created directly from docker file and
# the app/ volume is mounted inside the container for debugging
version: '3.6'
volumes:
influx_data: {}
grafana_data: {}
postgres_data: {}
services:
influxdb:
image: influxdb:1.7
container_name: influxdb
expose:
- "8083"
- "8086"
- "8090"
volumes:
- influx_data:/var/lib/influxdb
restart: unless-stopped
# NGINX REVERSE PROXY
nginx:
container_name: nginx
build:
context: ./data-assimilation-system/nginx/
dockerfile: Dockerfile
ports:
- 80:80
- 5000:5000
depends_on:
- grafana
restart: unless-stopped
grafana:
container_name: grafana
image: grafana/grafana:7.0.5
expose:
- "3000"
volumes:
- grafana_data:/var/lib/grafana
restart: unless-stopped
connector:
container_name: connector
build:
context: ./connector
dockerfile: Dockerfile
target: development
stdin_open: true
tty: true
links:
- influxdb
volumes:
- ./connector/connector:/opt/connector
restart: unless-stopped
calculator:
container_name: calculator
build:
context: ./calculator
dockerfile: Dockerfile
target: development
stdin_open: true
tty: true
links:
- influxdb
volumes:
- ./calculator/calculator:/opt/calculator
restart: unless-stopped
inspector:
container_name: inspector
build:
context: ./inspector
dockerfile: Dockerfile
target: development
stdin_open: true
tty: true
links:
- influxdb
volumes:
- ./inspector/inspector:/opt/inspector
restart: unless-stopped
subscriber:
container_name: subscriber
build:
context: ./subscriber
dockerfile: Dockerfile
target: development
stdin_open: true
tty: true
volumes:
- ./subscriber/subscriber:/opt/subscriber
restart: unless-stopped
postgres:
container_name: postgres
image: postgres:12.2-alpine
expose:
- "5432"
environment:
- POSTGRES_DB=enc_earthquake_email_list
- POSTGRES_PASSWORD=mysecretpassword
restart: unless-stopped