-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (37 loc) · 901 Bytes
/
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
version: '3.8'
services:
api:
build:
context: .
dockerfile: common/docker/base-node.dockerfile
volumes:
- '.:/app'
entrypoint: 'sh -c "npm --prefix svc/api install && npm --prefix svc/api run start:dev"'
ports:
- 8080:80
documentation:
build:
context: .
dockerfile: common/docker/base-node.dockerfile
volumes:
- '.:/app'
environment:
PORT: 80
API_SERVICE_HOST: api
API_SERVICE_PORT: 80
PARSER_SERVICE_HOST: parser
PARSER_SERVICE_PORT: 80
working_dir: /app/svc/documentation
entrypoint: 'sh -c "npm install && npm run dev"'
ports:
- 3000:80
parser:
build:
context: .
dockerfile: common/docker/base-dotnet.dockerfile
working_dir: /app/svc/parser
volumes:
- '.:/app'
entrypoint: 'sh -c "dotnet watch run"'
ports:
- 8081:80