-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (33 loc) · 820 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (33 loc) · 820 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
version: '2'
services:
ng:
ports:
- "4200:4200"
build:
context: ./services/patternstack-ng
dockerfile: Dockerfile
entrypoint: "npm run serve:docker"
volumes:
- ./services/patternstack-ng/src:/usr/src/app/src
api:
environment:
- PORT=8080
ports:
- "3000:8080"
build:
context: ./services/patternstack-node
dockerfile: Dockerfile
entrypoint: "npm run serve:dev"
volumes:
- ./services/patternstack-node/lib:/usr/src/app/lib
- ./services/patternstack-node/public:/usr/src/app/public
swagger-ui:
environment:
- API_URL=http://localhost:3000/apidoc/swagger.yml
ports:
- "8080:8080"
image: "swaggerapi/swagger-ui"
swagger-editor:
ports:
- "8081:8080"
image: "swaggerapi/swagger-editor"