File size: 1,628 Bytes
34f0f61 |
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 |
services:
webui:
build:
context: ./src/ori/webui
target: dev
image: webui
ports:
- "8501:8501"
environment:
- API_ENDPOINT_ENTITY_LINKER_PREDICT=http://el-topic-classifier:5000/predict
- API_ENDPOINT_CENTROID_NEWSAPI=http://centroid-topic-classifier:5000/predict
restart: always
volumes:
- ./src/ori/webui:/app
container_name: webui
centroid-topic-model:
build:
context: ./src/ori/topic_model
target: dev
image: centroid-topic-model
ports:
- "5001:5000"
environment:
- MODEL_PATH=sentence-transformers/all-MiniLM-L6-v2
- TOPIC_CENTROIDS_PATH=resources/embeddings/newsapi_labels_n_vec
restart: always
volumes:
- ./src/ori/topic_model:/app
container_name: centroid-topic-model
centroid-topic-classifier:
build:
context: ./src/ori/centroid-topic-classifier
target: dev
image: centroid-topic-classifier
ports:
- "5003:5000"
restart: always
volumes:
- ./src/ori/centroid-topic-classifier:/app
container_name: centroid-topic-classifier
el-topic-classifier:
build:
context: ./src/ori/el-topic-classifier
target: dev
image: el-topic-classifier
ports:
- "5002:5000"
restart: always
volumes:
- ./src/ori/el-topic-classifier:/app
container_name: el-topic-classifier
environment:
- QDRANT_API_ENDPOINT=http://qdrant:6333/
qdrant:
image: qdrant/qdrant
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_storage:/qdrant/storage:z
volumes:
qdrant_storage:
|