-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
57 lines (50 loc) · 1.14 KB
/
docker-compose.yaml
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
48
49
50
51
52
53
54
55
56
57
version: '3'
services:
chariot-cloud:
build: ./ml-mdb-api
ports:
- "5000:8080"
networks:
- ml
swagger:
image: "swaggerapi/swagger-ui"
networks:
- ml
ports:
- "4400:8080"
environment:
BASE_URL: /swagger
SWAGGER_JSON: /swagger.json
VIRTUAL_HOST: ml.swagger
VIRTUAL_PORT: 4400
volumes:
- ./swagger/mlcloud.json:/swagger.json
mongo:
image: mongo
networks:
- ml
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: mldb
MONGO_INITDB_ROOT_PASSWORD: chariot
volumes:
- ./db:/data/db
ports:
- "27017:27017"
restart: always
proxy:
image: jwilder/nginx-proxy
networks:
- ml
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
# whoami:
# image: jwilder/whoami
# environment:
# - VIRTUAL_HOST=whoami.local
# networks:
# - ml
networks:
ml: