-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yaml
48 lines (45 loc) · 1.15 KB
/
docker-compose.dev.yaml
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
version: '3.6'
x-common-postgres-variables: &common-postgres-variables
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mysecretpassword
x-common-influx-variables: &common-influx-variables
INFLUXDB_DB: smart_factory
INFLUXDB_USER: admin
INFLUXDB_USER_PASSWORD: admin
services:
grafana:
image: spruiktec/libre-grafana
ports:
- 3000:3000
volumes:
- ./dist:/var/lib/grafana/plugins/libre-scheduler-order-mgt-table-panel:ro
environment:
<<: *common-postgres-variables
<<: *common-influx-variables
depends_on:
- postrest
postrest:
image: postgrest/postgrest
ports:
- 5436:3000
environment:
- PGRST_DB_URI=postgres://postgres:mysecretpassword@postgres/smartfactory
- PGRST_DB_ANON_ROLE=postgres
depends_on:
- postgres
influx:
image: influxdb
environment:
- INFLUXDB_DB=smart_factory
- INFLUXDB_HTTP_AUTH_ENABLED=false
ports:
- 8086:8086
simulator:
image: spruiktec/libre-simulator
ports:
- 1880:1880
depends_on:
- postrest
postgres:
image: spruiktec/libre-postgres
environment: *common-postgres-variables