-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathdocker-compose.yml
47 lines (43 loc) · 995 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
41
42
43
44
45
46
47
version: "3.3"
services:
swagger-editor:
image: swaggerapi/swagger-editor
container_name: "swagger-editor"
ports:
- "8081:8080"
swagger-ui:
image: swaggerapi/swagger-ui
container_name: "swagger-ui"
ports:
- "8082:8080"
volumes:
- ./swagger/openapi.json:/openapi.json
environment:
SWAGGER_JSON: /openapi.json
# API_URL: ""
swagger-api:
image: danielgtaylor/apisprout
container_name: "swagger-api"
ports:
- "8083:8000"
volumes:
- ./swagger/openapi.json:/openapi.json
command: /openapi.json
networks:
swagger_link:
aliases:
- local.swagger.apisprout
swagger-nginx:
image: nginx:mainline-alpine
container_name: "swagger-nginx"
ports:
- "8084:8084"
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
networks:
swagger_link:
aliases:
- local.swagger.api
networks:
swagger_link:
external: true