-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
167 lines (160 loc) · 3.81 KB
/
Copy pathdocker-compose.yml
File metadata and controls
167 lines (160 loc) · 3.81 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
version: '3'
services:
# VS code in browser
# IDE for development running in docker and
# accessed in browser
vscode:
build:
context: ./Dockerfiles
dockerfile: Dockerfile.vscode
container_name: vscode
image: vscode:latest
ports:
- "8080:8080"
volumes:
- vscode:/home/coder/.local/share/code-server
- repo:/BilderSkriptRepo
- ${VOL_DIR}/.gitconfig:/home/coder/.gitconfig
command: ["--auth", "none", "/BilderSkriptRepo"]
# hugin is an Open Source panorama stitcher and graphical user interface (GUI)
# for Panorama tools.
# It also provides a number of additional components and command line tools.
#
# Hugin prepares image data taken with fisheye lenses.
hugin:
build:
context: ./Dockerfiles
dockerfile: Dockerfile.hugin
image: hugin:latest
volumes:
- ipc:${APP_ROOT}/ipc
- images:${APP_ROOT}/images
- src:${APP_ROOT}/src
- scripts:${APP_ROOT}/scripts
command:
/bilderskript/scripts/ipc_socket_server.sh hugin.sock /bilderskript/scripts/hugin/hugin_server_app.sh
ipc: host
stdin_open: true
tty: true
# Ludwig is a toolbox that allows to train and test deep learning models
# without the need to write code.
ludwig:
build:
context: ./Dockerfiles
dockerfile: Dockerfile.ludwig
image: ludwig:latest
env_file:
- .comet.env
volumes:
- ipc:${APP_ROOT}/ipc
- images:${APP_ROOT}/images
- ludwig:${APP_ROOT}/ludwig
- log:${APP_ROOT}/log
- scripts:${APP_ROOT}/scripts
command:
/bilderskript/scripts/ipc_socket_server.sh ludwig.sock /bilderskript/scripts/ludwig/ludwig_server_app.sh
ipc: host
stdin_open: true
tty: true
# Builder contains all tooling for the BilderSkript application
# It defines and runs pipelines.
builder:
build:
context: ./Dockerfiles
dockerfile: Dockerfile.builder
image: builder:latest
volumes:
- repo:/BilderSkriptRepo
- ipc:${APP_ROOT}/ipc
- pipelines:${APP_ROOT}/pipelines
- log:${APP_ROOT}/log
- images:${APP_ROOT}/images
- ludwig:${APP_ROOT}/ludwig
- src:${APP_ROOT}/src
- scripts:${APP_ROOT}/scripts
- docs:${APP_ROOT}/docs
- docs_site:${APP_ROOT}/docs_site
ipc: host
stdin_open: true
tty: true
# hugin, same as above, but with vnc
# this is for running the Hugin GUI to configure the
# project (.pto) file.
hugin-vnc:
build:
context: ./Dockerfiles
dockerfile: Dockerfile.hugin
image: hugin:latest
ports:
- "5901:5901"
volumes:
- images:${APP_ROOT}/images
- scripts:${APP_ROOT}/scripts
- hugin-vnc:/hugin-vnc
command:
# /bin/bash
/hugin-vnc/hugin.sh
ipc: host
stdin_open: true
tty: true
#
# Volume definition
# Note the "ipc" volume for sharing UNIX sockets.
#
volumes:
repo:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}
ipc:
pipelines:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/pipelines
vscode:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/vscode
log:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/log
images:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/images
ludwig:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/ludwig
hugin-vnc:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/hugin-vnc
src:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/src
scripts:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/scripts
docs:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/docs
docs_site:
driver_opts:
type: none
o: bind
device: ${VOL_DIR}/docs_site