Spaces:
Runtime error
Runtime error
File size: 1,850 Bytes
a6fd1a3 |
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 |
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: law_rag_chatbot
ports:
- "5000:5000"
env_file:
- .env
volumes:
- ./main.py:/app/main.py
- ./rag_components.py:/app/rag_components.py
- ./build_vectorstore.py:/app/build_vectorstore.py
- ./config.py:/app/config.py
- ./prompt_templete.py:/app/prompt_templete.py
- ./dependencies.py:/app/dependencies.py
- ./data:/app/data
- ./utils:/app/utils
- ./db:/app/db
- ./routers:/app/routers
- ./schemas:/app/schemas
- ./services:/app/services
- ./core:/app/core
- hf_cache:/app/cache
environment:
- HF_HOME=/app/cache
- HF_HUB_DISABLE_SYMLINKS_WARNING=1
# - WEAVIATE_URL=http://weaviate:8080
restart: unless-stopped
# depends_on:
# - weaviate
networks:
- law-network
# weaviate:
# image: cr.weaviate.io/semitechnologies/weaviate:1.30.2
# container_name: weaviate-law
# ports:
# - "8080:8080"
# - "50051:50051"
# volumes:
# - weaviate_data:/var/lib/weaviate
# restart: on-failure:0
# environment:
# QUERY_DEFAULTS_LIMIT: 25
# AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: "true"
# PERSISTENCE_DATA_PATH: "/var/lib/weaviate"
# ENABLE_API_BASED_MODULES: "true"
# CLUSTER_HOSTNAME: "node1"
# DEFAULT_VECTORIZER_MODULE: "none"
# networks:
# - law-network
volumes:
# redis_data:
hf_cache:
# weaviate_data:
networks:
law-network:
driver: bridge
|