-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (38 loc) · 850 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (38 loc) · 850 Bytes
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
version: '3.8'
services:
db:
image: postgres
# volumes:
# - ./data/db:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgre
node_app:
build:
context: .
dockerfile: ./WaferAssesment/Dockerfile
environment:
NODE_ENV : development
# volumes:
# - .:/usr/src/app
# - /node_modules
command: /usr/src/app/entrypoint.sh
ports:
- 8000:8000
depends_on:
- db
react_app:
build:
context: .
dockerfile: ./waferfrontend/Dockerfile
environment:
NODE_ENV : development
# volumes:
# - .:/usr/src/app
# - /node_modules
command: /usr/src/react/entrypoint.sh
ports:
- 3000:3000