forked from komar41/vigma
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 762 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 loc) · 762 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
version: "3.9"
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "5000:5000"
environment:
- FLASK_RUN_HOST=0.0.0.0
- FLASK_RUN_PORT=5000
- FLASK_APP=server.py
volumes:
- ./backend/data:/app/backend/data
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
depends_on:
- backend
ports:
- "3000:3000"
notebooks:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8888:8888"
command: >
sh -c "pip install notebook &&
jupyter notebook --notebook-dir=/app/notebooks --ip=0.0.0.0 --port=8888 --allow-root --NotebookApp.token=''"
volumes:
- ./notebooks:/app/notebooks