File size: 600 Bytes
db764ae 9c3ade2 db764ae 9c3ade2 db764ae 9c3ade2 db764ae 9c3ade2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | services:
app:
build: .
ports:
- "8000:8000"
volumes:
# Persist HuggingFace model cache between restarts
- hf-cache:/data/huggingface
# Persist the GloVe background model (anomaly detection) so it's not re-downloaded
- gensim-cache:/data/gensim-data
# Persist engine state, Word2Vec state, and trained models
- engine-state:/data/engine_state
- w2v-state:/data/w2v_state
- ./trained_model:/data/trained_model
environment:
- HOST=0.0.0.0
- PORT=8000
volumes:
hf-cache:
gensim-cache:
engine-state:
w2v-state:
|