aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-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: