Skip to content
Open
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
24 changes: 19 additions & 5 deletions code/cpu/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ services:
user: ${CURRENT_UID}
volumes:
- ${DD_PLATFORM}:/opt/platform
networks:
- platform_docker


#
# Platform UI
Expand All @@ -36,16 +39,14 @@ services:
restart: always
ports:
- '127.0.0.1:${DD_PORT:-1912}:80'
links:
- jupyter:jupyter
- deepdetect:deepdetect
- filebrowser
- dozzle
volumes:
- ./config/nginx/nginx.conf:/etc/nginx/nginx.conf
- ${DD_PLATFORM}:/opt/platform
- ./config/platform_ui/config.json:/usr/share/nginx/html/config.json
- ./.env:/usr/share/nginx/html/version
networks:
- platform_docker


#
# Jupyter notebooks
Expand All @@ -60,6 +61,9 @@ services:
volumes:
- ${DD_PLATFORM}:/opt/platform
- ${DD_PLATFORM}/notebooks:/home/jovyan/work
networks:
- platform_docker


#
# filebrowser
Expand All @@ -70,6 +74,9 @@ services:
user: ${CURRENT_UID}
volumes:
- ${DD_PLATFORM}/data:/srv/data
networks:
- platform_docker


#
# real-time log viewer for docker containers
Expand All @@ -81,3 +88,10 @@ services:
- DOZZLE_BASE=/docker-logs
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- platform_docker


networks:
platform_docker:
driver: 'bridge'
28 changes: 22 additions & 6 deletions code/gpu/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ services:
user: ${CURRENT_UID}
volumes:
- ${DD_PLATFORM}:/opt/platform
networks:
- platform_docker


#
# Platform UI
Expand All @@ -37,17 +40,14 @@ services:
restart: always
ports:
- '127.0.0.1:${DD_PORT:-1912}:80'
links:
- jupyter:jupyter
- deepdetect:deepdetect
- gpustat_server
- filebrowser
- dozzle
volumes:
- ./config/nginx/nginx.conf:/etc/nginx/nginx.conf
- ${DD_PLATFORM}:/opt/platform
- ./config/platform_ui/config.json:/usr/share/nginx/html/config.json
- ./.env:/usr/share/nginx/html/version
networks:
- platform_docker


#
# Jupyter notebooks
Expand All @@ -63,13 +63,19 @@ services:
volumes:
- ${DD_PLATFORM}:/opt/platform
- ${DD_PLATFORM}/notebooks:/home/jovyan/work
networks:
- platform_docker


#
# gpustat-server
#
gpustat_server:
image: docker.jolibrain.com/gpustat_server
runtime: nvidia
networks:
- platform_docker


#
# filebrowser
Expand All @@ -80,6 +86,9 @@ services:
user: ${CURRENT_UID}
volumes:
- ${DD_PLATFORM}/data:/srv/data
networks:
- platform_docker


#
# real-time log viewer for docker containers
Expand All @@ -91,3 +100,10 @@ services:
- DOZZLE_BASE=/docker-logs
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- platform_docker


networks:
platform_docker:
driver: 'bridge'