-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (44 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (44 loc) · 887 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
40
41
42
43
44
45
version: "3.7"
services:
gateway:
container_name: gateway
ports:
- 80:80
build:
context: gateway
depends_on:
- frontend
- backend
volumes:
- ./gateway/nginx.conf:/etc/nginx/nginx.conf
frontend:
container_name: frontend
ports:
- 8080:8080
build:
context: frontend
target: development
volumes:
- ./frontend:/home/node
- /home/node/node_modules
environment:
- CHOKIDAR_USEPOLLING=true
backend:
container_name: backend
build:
context: backend
ports:
- 3000:3000
environment:
- NODE_ENV
volumes:
- ./backend/test.env:/home/node/undefined.env
db:
image: "postgres:12"
container_name: "postgres"
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: admin
POSTGRES_DB: adde
ports:
- 5432:5432