-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (38 loc) · 933 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
version: "3.3"
services:
swagger-ui:
image: swaggerapi/swagger-ui
container_name: "swagger-ui-forxxx"
ports:
- "8082:8080"
volumes:
- ./swagger/openapi.yml:/openapi.yaml
environment:
SWAGGER_JSON: /openapi.yml
swagger-api:
image: danielgtaylor/apisprout
container_name: "swagger-api-forxxx"
ports:
- "8888:8000"
volumes:
- ./swagger/openapi.yaml:/openapi.yaml
entrypoint: /usr/local/bin/apisprout /openapi.yaml --watch
command: /openapi.json
networks:
swagger_link:
aliases:
- local.swagger.apisprout
swagger-nginx:
image: nginx:mainline-alpine
container_name: "swagger-nginx-forxxx"
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