-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
71 lines (71 loc) · 2.19 KB
/
docker-compose.yml
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
version: '3'
services:
columnservice:
image: "coffeateam/coffea-columnservice:dev"
command: uvicorn --host 0.0.0.0 columnservice.server:app
ports:
- "8000:8000"
volumes:
- .:/src/columnservice
- ${X509_USER_PROXY}:/tmp/proxy
environment:
MONGODB_USERNAME: "coffea"
MONGODB_PASSWORD: "coffea"
MONGODB_DATABASE: "coffeadb"
MONGODB_HOSTNAME: "mongodb"
DASK_SCHEDULER: "tls://dask-scheduler:8786"
X509_USER_PROXY: "/tmp/proxy"
MINIO_HOSTNAME: "minio:9000"
MINIO_ACCESS_KEY: "miniocoffeakey"
MINIO_SECRET_KEY: "miniocoffeakey"
COLUMNSERVICE_BUCKET: "columnservice"
USER_ALLOWLIST: "ncsmith"
TLS_PATH: "/src/columnservice"
mongodb:
image: "bitnami/mongodb:latest"
ports:
- "27017:27017"
environment:
MONGODB_ROOT_PASSWORD: "password123"
MONGODB_USERNAME: "coffea"
MONGODB_PASSWORD: "coffea"
MONGODB_DATABASE: "coffeadb"
minio:
image: "bitnami/minio:latest"
ports:
- "9000:9000"
environment:
MINIO_ACCESS_KEY: "miniocoffeakey"
MINIO_SECRET_KEY: "miniocoffeakey"
MINIO_SKIP_CLIENT: "yes"
dask-scheduler:
image: "coffeateam/coffea-columnservice:dev"
command: dask-scheduler --tls-ca-file /src/columnservice/ca.crt --tls-cert /src/columnservice/hostcert.pem
volumes:
- .:/src/columnservice
ports:
- "8786:8786"
- "8787:8787"
dask-worker:
image: "coffeateam/coffea-columnservice:dev"
command: dask-worker --tls-ca-file /src/columnservice/ca.crt --tls-cert /src/columnservice/hostcert.pem tls://dask-scheduler:8786
volumes:
- ${X509_USER_PROXY}:/tmp/proxy
- .:/src/columnservice
environment:
X509_USER_PROXY: "/tmp/proxy"
COLUMNSERVICE_URL: "http://columnservice:8000"
jupyter:
image: "coffeateam/coffea-columnservice:dev"
command: jupyter notebook --no-browser --ip 0.0.0.0 --port 8880
user: "1000:1000"
ports:
- "8880:8880"
volumes:
- ${X509_USER_PROXY}:/tmp/proxy
- .:/src/columnservice
- ./jupyter:/opt/app
environment:
HOME: "/opt/app"
X509_USER_PROXY: "/tmp/proxy"
COLUMNSERVICE_URL: "http://columnservice:8000"