Initial commit: import from sinmb79/Gov-chat-bot

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
airkjw
2026-03-26 12:49:43 +09:00
commit a16c972dbb
104 changed files with 8063 additions and 0 deletions

55
docker-compose.yml Normal file
View File

@@ -0,0 +1,55 @@
version: "3.9"
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: botuser
POSTGRES_PASSWORD: botpass
POSTGRES_DB: smartbot
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U botuser"]
interval: 10s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
volumes:
- redis_data:/data
chromadb:
image: chromadb/chroma:latest
environment:
ANONYMIZED_TELEMETRY: "false"
volumes:
- chroma_data:/chroma/chroma
backend:
build: ./backend
env_file: .env
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
chromadb:
condition: service_started
ports:
- "8000:8000"
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:80"
depends_on:
- backend
volumes:
postgres_data:
redis_data:
chroma_data: