-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
66 lines (65 loc) · 1.42 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
66
version: '3.7'
services:
web:
build: ./epanet
command: python3 manage.py runserver 0.0.0.0:8000
volumes:
- ./epanet/:/usr/src/app/
- ./grafana-provisioning/:/usr/src/app/grafana-provisioning
ports:
- 8000:8000
env_file:
- .env.dev
links:
- "matlab:matlab"
db:
image: postgres:12.0-alpine
volumes:
- postgres_data:/var/lib/postgresql/data/
ports:
- 5432:5432
environment:
- POSTGRES_USER=kios
- POSTGRES_PASSWORD=kios1234!
- POSTGRES_DB=virtual_city
influxdb:
image: influxdb:1.8.4-alpine
ports:
- 8086:8086
volumes:
- influxdb-storage:/var/lib/influxdb
environment:
- INFLUXDB_DB=virtual_city
- INFLUXDB_ADMIN_USER=kios
- INFLUXDB_ADMIN_PASSWORD=kios1234!
grafana:
image: grafana/grafana:8.5.22-ubuntu
ports:
- 3001:3000
volumes:
- grafana_data:/var/lib/grafana
- ./grafana-provisioning/:/etc/grafana/provisioning
depends_on:
- db
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_INSTALL_PLUGINS=grafana-worldmap-panel
matlab:
build: ./matlab
stdin_open: true
tty: true
ports:
- 22:22
sumo:
build: ./sumo
ports:
- 1234:1234
volumes:
- ./:/usr/src/app/
stdin_open: true
tty: true
volumes:
postgres_data:
grafana_data:
influxdb-storage: