-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (68 loc) · 1.29 KB
/
docker-compose.yml
File metadata and controls
68 lines (68 loc) · 1.29 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
version: "3"
services:
api:
build:
context: api
dockerfile: Dockerfile
restart: on-failure
container_name: plug-api
depends_on:
- "db"
ports:
- "8080:80"
volumes:
- ./api/chalice-api:/chalice-api
environment:
DB_USERNAME: username
DB_PASSWORD: password
DB_HOST: db
DB_PORT: 5432
DB_NAME: plugnetdata
DB_SCHEMA: public
db:
image: postgres:latest
container_name: plug-postgresql-db
restart: always
environment:
POSTGRES_USER: username
POSTGRES_PASSWORD: password
POSTGRES_DB: plugnetdata
volumes:
- ./api/ddl:/docker-entrypoint-initdb.d
ports:
- "5433:5432"
etl:
build:
context: etl
dockerfile: Dockerfile
depends_on:
- "db"
- "ws"
container_name: plug-etl
restart:
always
portal:
build:
context: portal
dockerfile: Dockerfile
restart:
always
container_name: plug-web-portal
ports:
- "3000:3000"
environment:
NODE_ENV: local
depends_on:
- "api"
- "ws"
ws:
build:
context: ws
dockerfile: Dockerfile
restart:
always
container_name: plug-websocket
ports:
- "3001:3000"
environment:
NODE_ENV: local