generated from fastai/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
62 lines (58 loc) · 1.47 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
version: "3.7"
services:
lets-nginx:
image: smashwilson/lets-nginx
restart: always
volumes:
- ./lets-nginx/cache:/cache
- ./lets-nginx/letsencrypt:/etc/letsencrypt
- ./nginx/risotto.inria.cl.conf:/configs/risotto.inria.cl.conf
environment:
- EMAIL=${LETS_ENCRYPT_EMAIL}
- DOMAIN=${LETS_ENCRYPT_DOMAIN}
- STAGING=${LETS_ENCRYPT_STAGING}
- UPSTREAM=risotto:8080
depends_on:
- risotto
ports:
- "80:80"
- "443:443"
risotto:
container_name: risotto
build:
context: .
dockerfile: Dockerfile
image: risotto
environment:
- KAGGLE_USERNAME=${KAGGLE_USERNAME}
- KAGGLE_KEY=${KAGGLE_KEY}
- PORT=8080
volumes:
- ./datasets:/usr/src/risotto/datasets/
- ./artifacts:/usr/src/risotto/artifacts/
ports:
- "8080"
stdin_open: true
tty: true
zero-shot:
container_name: zero-shot
build:
context: .
dockerfile: streamlit_apps/zero_shot_Dockerfile
image: zero-shot
environment:
- ARTIFACT_NAME=zero_shot_artifacts.hdf
volumes:
- ./models-cache:/root/.cache/torch/
- ./artifacts:/usr/src/zero-shot/artifacts/
nli:
container_name: nli
build:
context: .
dockerfile: streamlit_apps/nli/Dockerfile
image: nli
command: /usr/src/app/streamlit_apps/nli/run.sh
environment:
- ARTIFACT_NAME=entailments_artifact.hdf
volumes:
- ./artifacts:/usr/src/app/artifacts/