-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed missing aligned notebook folder
- Loading branch information
DrSnowbird
authored and
DrSnowbird
committed
May 18, 2022
1 parent
80f9a61
commit 91e52ff
Showing
43 changed files
with
67 additions
and
16,945 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,78 @@ | ||
version: '3' | ||
version: '3.1' | ||
|
||
services: | ||
cuda-pytorch-docker: | ||
container_name: cuda-pytorch-docker | ||
image: openkbs/cuda-pytorch-docker | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
restart: always | ||
env_file: | ||
- ./.env | ||
environment: | ||
## ==== Jupyter Notebook Specifics: ==== | ||
#- PASSWORD=${PASSWORD:-ChangeMe!} | ||
#- ENABLE_HTTPS=${ENABLE_HTTPS:-false} | ||
## ==== Common Container Setup: ==== | ||
- CONTAINER_NAME=cuda-pytorch-docker | ||
- USER_ID=${USER_ID:-1000} | ||
- GROUP_ID=${GROUP_ID:-1000} | ||
# - APP_HOME=${APP_HOME:-/home/developer/app} | ||
# - APP_MAIN=${APP_MAIN:-setup.sh} | ||
#- DOCKER_HOST_IP=${DOCKER_HOST_IP:-127.0.0.1} | ||
#- DOCKER_HOST_NAME=${DOCKER_HOST_NAME:-localhost} | ||
restart: always | ||
gpus: all | ||
ports: | ||
- 6006:6006 | ||
- 8888:8888 | ||
env_file: | ||
- ./.env | ||
- DOCKER_HOST_IP=${DOCKER_HOST_IP:-192.168.0.124} | ||
- DOCKER_HOST_NAME=${DOCKER_HOST_NAME:-aurora} | ||
# ==== X11 Use only ==== | ||
#- DISPLAY=$DISPLAY | ||
#- DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket | ||
# ==== vnc/no-vnc ==== | ||
#- WINDOW_MANAGER=xfce | ||
#- VNC_RESOLUTION=1280x800 | ||
#- VNC_PW=vncpassword | ||
## ------------------------------- | ||
## -- Audio sound setup: | ||
## ------------------------------- | ||
#group_add: | ||
# - audio | ||
#devices: | ||
# - "/dev/snd:/dev/snd" | ||
## ------------------------------------------- | ||
## -- Change to your specific Volumes Mapping: | ||
## ------------------------------------------- | ||
volumes: | ||
## ==== Common Container mapping: ==== | ||
# - /etc/hosts:/etc/hosts | ||
# - /dev/shm:/dev/shm | ||
# - /var/run/docker.sock:/var/run/docker.sock | ||
# - /tmp/.X11-unix:/tmp/.X11-unix | ||
## ==== Corporate Proxies Gateway Relay: ==== | ||
## ==== Common mapping: ==== | ||
- /etc/hosts:/etc/hosts | ||
- /dev/shm:/dev/shm | ||
#- /tmp/.X11-unix:/tmp/.X11-unix | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
#- ./certificates:/home/developer/certificates | ||
## ==== Use $HOME/data-docker as User's base directory: ==== | ||
#- $HOME/data-docker/cuda-pytorch-docker/data:/home/developer/data | ||
#- $HOME/data-docker/cuda-pytorch-docker/workspace:/home/developer/workspace | ||
## ==== Use current directory as User's base directory: ==== | ||
- ~/data-docker/cuda-pytorch-docker/notebooks:/home/developer/notebooks | ||
- ~/data-docker/cuda-pytorch-docker/data:/home/developer/data | ||
- ~/data-docker/cuda-pytorch-docker/logs:/home/developer/logs | ||
- ~/data-docker/cuda-pytorch-docker/workspace:/home/developer/workspace | ||
#- ./notebooks:/home/developer/notebooks | ||
## ==== Use $HOME/data-docker as base directory: ==== | ||
- $HOME/data-docker/cuda-pytorch-docker/data:/home/developer/data | ||
- $HOME/data-docker/cuda-pytorch-docker/workspace:/home/developer/workspace | ||
## ==== Use current directory as root for mapping Volumes: ==== | ||
## (You need to manually create those child directory: ./data, ./workspace, and others) | ||
#- ./data:/home/developer/data | ||
#- ./logs:/home/developer/logs | ||
#- ./workspace:/home/developer/workspace | ||
## ==== App's additional mapping Volumes: ==== | ||
|
||
## ------------------------------- | ||
## -- Change to your specific port | ||
## ------------------------------- | ||
# ports: | ||
# - "12345:12345" | ||
ports: | ||
- "6006:6006" | ||
- "8888:8888" | ||
|
||
## ----------------------------- | ||
## -- Network setup if needed -- | ||
## ----------------------------- | ||
# networks: | ||
# - dev_network | ||
|
||
#volumes: | ||
# cuda-pytorch-docker_volume: | ||
# external: false | ||
|
||
#networks: | ||
# dev_network: | ||
# external: | ||
# name: dev_network | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ services: | |
context: . | ||
dockerfile: Dockerfile | ||
restart: always | ||
gpus: all | ||
env_file: | ||
- ./.env | ||
environment: | ||
|
Oops, something went wrong.