aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-10-21 23:43:06 +0000
committerterminaldweller <devi@terminaldweller.com>2023-10-21 23:43:06 +0000
commit475894d837ca9bbca05c194e48527f170efb6cf1 (patch)
tree4d42a1b62eba6b89a2cce417d306932cfa4d5a29 /docker-compose.yml
parentupdate (diff)
downloadjupyter-notebook-docker-compose-475894d837ca9bbca05c194e48527f170efb6cf1.tar.gz
jupyter-notebook-docker-compose-475894d837ca9bbca05c194e48527f170efb6cf1.zip
update
Diffstat (limited to '')
-rw-r--r--docker-compose.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 324bf90..9b99b3f 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -4,11 +4,12 @@ services:
image: devijlab:v0.2
build:
context: .
+ # user: ${UID}:${GID}
volumes:
- /home/devi/jupyterlab_docker/datasets:/datasets:ro
- /home/devi/jupyterlab_docker/notebooks:/opt/app/data/
ports:
- - 8889:8888
+ - 127.0.0.1:8889:8888
# networks:
# - devijlab-net
network_mode: bridge
@@ -18,11 +19,13 @@ services:
- "host.docker.internal:host-gateway"
environment:
- JUPYTER_ENABLE_LAB=yes
- - HTTP_PROXY=socks5://172.17.0.1:9995
- - HTTPS_PROXY=socks5://172.17.0.1:9995
+ - HTTP_PROXY=http://172.17.0.1:8118
+ - HTTPS_PROXY=http://172.17.0.1:8118
+ - ALL_PROXY=socks5h://172.17.0.1:9995
- NO_PROXY="localhost, 127.0.0.1"
- NVIDIA_VISIBLE_DEVICES=all
runtime: nvidia
+ restart: unless-stopped
volumes:
devijlab-vault:
networks: