-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
50 lines (50 loc) · 1.02 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
version: '3'
services:
postgres:
build: docker/postgres
image: postgres
mongo:
build: docker/mongo
image: mongo
flask:
build:
context: .
dockerfile: ./docker/flask/Dockerfile
image: flask
volumes:
- ./source/python:/python
- ./source/web/static:/python/d4d/static
- ./source/web/templates:/python/d4d/templates
ports:
- 5001:5001
depends_on:
- postgres
- mongo
env_file: docker.env
conda:
build:
context: .
dockerfile: ./docker/conda/Dockerfile
image: conda
volumes:
- ./source/python:/python
- ./source/notebooks:/opt/notebooks
ports:
- 5002:5002
depends_on:
- postgres
- mongo
env_file: docker.env
node:
build:
context: .
dockerfile: ./docker/node/Dockerfile
image: node
volumes:
- ./source/node/src/:/node/src
- ./source/node/package.json:/node/package.json
ports:
- 5003:5003
depends_on:
- postgres
env_file: docker.env