-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml.example
75 lines (68 loc) · 1.77 KB
/
docker-compose.yml.example
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
version: "2"
services:
wrms-dash-nginx:
image: jlabusch/wrms-dash-nginx
restart: always
ports:
- "80:80"
links:
- wrms-dash-frontend
volumes:
- /etc/localtime:/etc/localtime:ro
wrms-dash-frontend-db:
image: postgres:9.6
restart: always
expose:
- "5432"
environment:
- POSTGRES_USER=dashboard
- POSTGRES_PASSWORD=example_password
- POSTGRES_DB=dashboard
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- /opt/ecs/pgdata:/var/lib/postgresql/data/pgdata
wrms-dash-frontend:
image: jlabusch/wrms-dash-frontend
restart: always
expose:
- "80"
environment:
- DJANGO_DEBUG
- DJANGO_BACKEND_URI=http://wrms-dash-api:80
- DJANGO_SECRET
- DB_PASS=example_password
links:
- wrms-dash-api
- wrms-dash-frontend-db
volumes:
- /etc/localtime:/etc/localtime:ro
wrms-dash-sync:
image: jlabusch/wrms-dash-sync
restart: always
expose:
- "80"
entrypoint:
- npm
- start
environment:
- ICINGA_BASIC_AUTH
- CONFIG
- API_DEBUG
volumes:
- /etc/localtime:/etc/localtime:ro
wrms-dash-api:
image: jlabusch/wrms-dash-api
restart: always
expose:
- "80"
entrypoint:
- npm
- start
links:
- wrms-dash-sync
environment:
- ICINGA_BASIC_AUTH
- CONFIG
- API_DEBUG
volumes:
- /etc/localtime:/etc/localtime:ro