-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
37 lines (37 loc) · 1.05 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
services:
chennai:
image: ghcr.io/appthreat/chen
# build:
# dockerfile: ci/Dockerfile
# labels:
# com.docker.compose.container-number: "1"
volumes:
- $HOME:$HOME
- /tmp:/tmp
ports:
- "8080:8080"
command: chennai --server --server-host 0.0.0.0 --server-port 8080 --server-auth-username chenadmin --server-auth-password chenpassword
notebook:
image: ghcr.io/appthreat/chen
# build:
# dockerfile: ci/Dockerfile
# labels:
# com.docker.compose.container-number: "2"
develop:
watch:
- action: rebuild
path: ./console
- action: rebuild
path: ./platform
- action: sync
path: ./chenpy
target: /opt/chenpy
- action: sync
path: ./chenpy
target: /opt/miniconda3/lib/python3.12/site-packages/chenpy
volumes:
- ./notebooks:/opt/notebooks
- /tmp:/tmp
ports:
- "9999:9999"
command: jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --port=9999 --NotebookApp.token=chennai