-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-nomatlabwithSUMO.yml
50 lines (49 loc) · 1.17 KB
/
docker-compose-nomatlabwithSUMO.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
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
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
volumes:
postgres_data:
grafana_data:
influxdb-storage: