Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/test/.devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Jupyter app",
"dockerComposeFile": "docker-compose.yaml",
"service": "app",
"shutdownAction": "none",
// Open the sub-folder with the source code
"workspaceFolder": "/workspace/jupyter",
"postCreateCommand": ["../startupscript/post-startup.sh", "jovyan", "/home/jovyan/work"],
"remoteUser": "root"
}

27 changes: 27 additions & 0 deletions src/test/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: '2.4'
services:
app:
container_name: "application-server"
image: us-docker.pkg.dev/prj-e-matted-gmx/docker/scipy-notebook
restart: always
volumes:
- ..:/workspace:cached
- work:/home/jovyan/work
ports:
- '8888:8888'
environment:
JUPYTER_ENABLE_LAB: "yes"
command: "start-notebook.py --ServerApp.token='' --ServerApp.password='' --ServerApp.root_dir=/home/jovyan/work --ServerApp.allow_origin='*'"
networks:
- app-network
cap_add:
- SYS_ADMIN
devices:
- /dev/fuse
security_opt:
- apparmor:unconfined
networks:
app-network:
external: true
volumes:
work:
Loading