You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
version: '3.9'
|
|
|
|
services:
|
|
# 1️⃣ Main App
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: islamic-scholar-agent
|
|
env_file:
|
|
- config/production.env
|
|
ports:
|
|
- "9005:8081"
|
|
restart: unless-stopped
|
|
networks:
|
|
- imam-reza-network # Use the reference name defined below
|
|
dns:
|
|
- 8.8.8.8
|
|
- 1.1.1.1
|
|
|
|
# ⚠️ IMPORTANT ARCHITECTURE NOTE
|
|
#
|
|
# This project does NOT run its own Qdrant instance anymore.
|
|
# Instead, this service connects to the centralized Qdrant instance
|
|
# defined in the `najm/agent` project.
|
|
|
|
# # 2️⃣ Qdrant Vector Database
|
|
# qdrant:
|
|
# image: qdrant/qdrant:latest
|
|
# container_name: qdrant-vector-db
|
|
# ports:
|
|
# - "5586:6333"
|
|
# environment:
|
|
# - QDRANT__SERVICE__API_KEY=qs-8d9f-4j2k-secret-key-99awdawdsdsvvfdfvvfd4v51f6d5
|
|
# volumes:
|
|
# - qdrant_storage:/qdrant/storage
|
|
# restart: unless-stopped
|
|
# networks:
|
|
# - imam-javad_backend_imam-javad
|
|
|
|
networks:
|
|
imam-reza-network:
|
|
external: true
|
|
|
|
# volumes:
|
|
# qdrant_storage:
|