-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 792 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 792 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
services:
notebook:
build:
context: ./ # Use the current directory as the build context
dockerfile: Dockerfile
image: seedubuntu # [foldername]-[servicename]
privileged: true
container_name: seedubuntu
hostname: seedubuntu
working_dir: /course_contents
cap_add:
- ALL
volumes:
- ./:/course_contents
ports:
- "8888:8888"
networks:
- bridge_network
command: bash -c "
jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --allow-root"
client:
image: handsonsecurity/seed-ubuntu:large
container_name: client
hostname: client
tty: true
cap_add:
- ALL
networks:
- bridge_network
command: bash -c "tail -f /dev/null"
networks:
bridge_network:
driver: bridge