-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (38 loc) · 785 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (38 loc) · 785 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
38
39
40
41
42
version: "3.7"
services:
swagger-editor:
image: swaggerapi/swagger-editor
container_name: "template_swagger-editor"
ports:
- "8081:8080"
swagger-ui:
image: swaggerapi/swagger-ui
container_name: "template_swagger-ui"
ports:
- "8082:8080"
volumes:
- ./docs:/docs
environment:
SWAGGER_JSON: /docs/openapi.yaml
template_service:
container_name: "template_service"
build:
context: ./
dockerfile: Dockerfile.dev
volumes:
- .:/server
ports:
- 3000:3000
tty: true
depends_on:
- mongodb
mongodb:
image: 'mongo:3.6-xenial'
container_name: "template_mongodb"
ports:
- 27017:27017
volumes:
- db_data:/data/db
volumes:
db_data:
driver: local