-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
109 lines (96 loc) · 2.3 KB
/
docker-compose.yml
File metadata and controls
109 lines (96 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
version: '2.3'
services:
#
# Platform Data
#
# Get data from dockerhub to run various services
#
platform_data:
image: jolibrain/platform_data:latest
user: ${CURRENT_UID}
volumes:
- ${DD_PLATFORM}:/platform
#
# Deepdetect
#
deepdetect:
image: jolibrain/deepdetect_gpu:${DD_SERVER_TAG}
runtime: nvidia
restart: always
volumes:
- ${DD_PLATFORM}:/opt/platform
#
# Platform UI
#
# modify port 80 to change facade port
#
platform_ui:
image: jolibrain/platform_ui:${DD_PLATFORM_UI_TAG}
restart: always
ports:
- '${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
- ${DD_PLATFORM}/version.json:/usr/share/nginx/html/version.json
#
# Jupyter notebooks
#
jupyter:
image: jolibrain/jupyter_dd_notebook:${DD_JUPYTER_TAG}
runtime: nvidia
user: root
environment:
- JUPYTER_LAB_ENABLE=yes
- NB_UID=${MUID}
volumes:
- ${DD_PLATFORM}:/opt/platform
- ${DD_PLATFORM}/notebooks:/home/jovyan/work
#
# gpustat-server
#
gpustat_server:
image: jolibrain/gpustat_server
runtime: nvidia
#
# filebrowser
#
filebrowser:
image: jolibrain/filebrowser:${DD_FILEBROWSER_TAG}
restart: always
user: ${CURRENT_UID}
volumes:
- ${DD_PLATFORM}/data:/srv/data
#
# container version monitoring for updates
#
ouroboros:
image: jolibrain/ouroboros
user: root
environment:
- INTERVAL=21600
- LOG_LEVEL=info
- DRY_RUN=true
- FILE_PATH=/opt/version.json
- MONITOR="jolibrain/platform_data jolibrain/platform_ui jolibrain/deepdetect_gpu jolibrain/jupyter_dd_notebook filebrowser/filebrowser jolibrain/gpustat_server jolibrain/ouroboros"
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${DD_PLATFORM}:/opt
#
# real-time log viewer for docker containers
#
dozzle:
image: amir20/dozzle
restart: always
environment:
- DOZZLE_BASE=/docker-logs
volumes:
- /var/run/docker.sock:/var/run/docker.sock