-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
44 lines (42 loc) · 1011 Bytes
/
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
version: "3"
services:
jupyter:
image: jupyter/scipy-notebook
command: ["start-notebook.sh", "--NotebookApp.token='' --allow-root"]
deploy:
replicas: 1
ports:
- 8888:8888
volumes:
- jupyter-files:/home/jovyan
depends_on:
- maci-backend
maci-backend:
build: ./maci-backend
volumes:
- simulation-framework:/maci/maci_backend/AppData/SimulationFramework
- simulation-files:/maci/maci_backend/AppData/Simulations
- jupyter-files:/maci/maci_backend/AppData/JupyterNotebook
- worker-files:/maci/maci_backend/AppData/WorkerScript
ports:
- 63658:63658
mininet:
build:
context: ./worker
tty: true
privileged: true
tty: true
environment:
- DISPLAY
volumes:
- /lib/modules:/lib/modules
- worker-files:/worker
depends_on:
- maci-backend
restart: always
hostname: mininet
volumes:
simulation-framework:
simulation-files:
jupyter-files:
worker-files: