QuentinL52 commited on
Commit
a4ca7c0
·
verified ·
1 Parent(s): 304e670

Delete docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +0 -47
docker-compose.yml DELETED
@@ -1,47 +0,0 @@
1
- version: '3.8'
2
-
3
- services:
4
-
5
- model-api:
6
- build:
7
- context: .
8
- dockerfile: Dockerfile
9
- container_name: projet_fil_rouge_api-model-api-1
10
- ports:
11
- - "9500:8000"
12
- env_file:
13
- - .env
14
- restart: unless-stopped
15
- environment:
16
- - HF_HOME=/app/cache
17
- - CELERY_BROKER_URL=redis://redis:6379/0
18
- - CELERY_RESULT_BACKEND=redis://redis:6379/0
19
- volumes:
20
- - ./.cache/huggingface:/app/cache
21
-
22
- worker:
23
- build:
24
- context: .
25
- dockerfile: Dockerfile
26
- command: celery -A tasks.worker_celery:celery_app worker --loglevel=info
27
- restart: unless-stopped
28
- depends_on:
29
- - model-api
30
- - redis
31
- env_file:
32
- - .env
33
- environment:
34
- - HF_HOME=/app/cache
35
- - CELERY_BROKER_URL=redis://redis:6379/0
36
- - CELERY_RESULT_BACKEND=redis://redis:6379/0
37
- volumes:
38
- - ./.cache/huggingface:/app/cache
39
-
40
- redis:
41
- image: "redis:alpine"
42
- ports:
43
- - "6379:6379"
44
- restart: unless-stopped
45
-
46
- volumes:
47
- huggingface_cache: