-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (34 loc) · 902 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (34 loc) · 902 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
services:
bundler:
build:
context: .
dockerfile: docker/json-bundler/Dockerfile
image: myparcelcom/json-bundler:v7-dev
working_dir: /opt/spec
volumes:
- .:/opt/spec
carrier-specification:
build:
context: .
dockerfile: docker/build/Dockerfile
image: myparcelcom/carrier-specification:v9-dev
volumes:
- ./dist:/usr/share/nginx/html/dist/
- ./src/index.html:/usr/share/nginx/html/index.html
- ./src/myparcelcom.css:/usr/share/nginx/html/myparcelcom.css
- ./src/myparcelcom.js:/usr/share/nginx/html/myparcelcom.js
environment:
SPEC_URL: /dist/swagger.json
PAGE_FAVICON: favicon-16x16.png
expose:
- 80
networks:
- proxynet
validator:
image: swaggerapi/swagger-validator
working_dir: /opt/spec
volumes:
- ./dist:/opt/spec
networks:
proxynet:
external: true