-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
54 lines (49 loc) · 1.02 KB
/
docker-compose.yml
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
version: '3'
services:
nginx:
image: nginx:latest
container_name: nginx
ports:
- '80:80'
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- api
- client
client:
container_name: client
image: excel-platform/client
build:
context: ./Excel-Accounts-Frontend/.
dockerfile: Development.Dockerfile
volumes:
- /client/node_modules
- ./Excel-Accounts-Frontend/.:/client
ports:
- '3000:3000'
api:
container_name: api
image: excel-platform/api
build:
context: ./Excel-Accounts-Backend/.
dockerfile: Development.Dockerfile
volumes:
- /api/obj
- /api/bin
- ./Excel-Accounts-Backend/.:/api
ports:
- '5000:5000'
depends_on:
- db
db:
image: postgres
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=ExcelAccounts
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- 5432:5432
volumes:
pgdata: