-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (41 loc) · 1018 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (41 loc) · 1018 Bytes
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
version: '3.3'
services:
db_dumper:
build: .
command: ["python", "/db_dumper/run.py"]
ports:
- "8001:3000"
environment:
- "DB_DUMPER_CONFIG=/config/config.ini"
- "USER_ID=${DB_DUMPER_UID}"
- "GROUP_ID=${DB_DUMPER_GID}"
volumes:
- ./tmp:/tmp
- ./user_data:/user_data
- ./config:/config
- ./:/db_dumper
- ./notebooks:/notebooks
jupyter:
image: "db_dumper-jupyter"
build:
context: .
args:
- "USER_ID=${DB_DUMPER_UID}"
- "GROUP_ID=${DB_DUMPER_GID}"
volumes:
- ./notebooks:/home/dbuser/notebooks
- ./tmp:/home/dbuser/tmp
- ./user_data:/home/dbuser/user_data
- ./config:/config
- .:/home/dbuser/db_dumper
environment:
- DB_DUMPER_CONFIG=/config/config-jupyter.ini
command:
/build/run_jupyter.sh
webserver:
image: db_dumper-webserver
build:
context: .
dockerfile: Dockerfile-webserver
ports:
- "8000:80"