-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
77 lines (70 loc) · 1.5 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: "3.4"
services:
frontend:
container_name: frontend
build: ./components/frontend
networks:
default:
aliases:
- "compose-p2p-frontend"
backend:
container_name: backend
volumes:
- "./sqllite/:/sqllite-db/"
build: ./components/backend
ports:
- "5000:5000"
networks:
default:
aliases:
- "compose-p2p-backend"
jupyter:
container_name: jupyter
volumes:
- "./components/jupyter/notebooks/:/home/jovyan/work/"
build: ./components/jupyter
ports:
- "8888:8888"
postgres:
container_name: postgres
image: postgres:9.6-alpine
networks:
default:
aliases:
- "compose-postgres"
proxy:
container_name: proxy
build: ./components/proxy
ports:
- "80:80"
networks:
default:
aliases:
- "compose-proxy"
restart: always
minio:
container_name: minio
image: minio/minio:RELEASE.2019-01-16T21-44-08Z
volumes:
- ./data:/data
ports:
- "9000:9000"
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: server /data
networks:
default:
aliases:
- "compose-minio"
swagger-ui:
container_name: swagger-ui
image: swaggerapi/swagger-ui
volumes:
- "./components/backend/swagger.yml:/swagger.yml:ro"
environment:
SWAGGER_JSON: /swagger.yml
networks:
default:
aliases:
- "compose-swagger-ui"