initial commit

This commit is contained in:
Antigravity
2026-11-18 18:06:22 +05:30
commit 13556aa423
229 changed files with 58732 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
services:
backend:
build: ./backend
container_name: poona-ams-backend
ports:
- "8000:8000"
environment:
DATABASE_URL: ${DATABASE_URL:-sqlite:////app/data/ams.db}
SECRET_KEY: ${SECRET_KEY:-change-me-in-production-use-a-32-char-random-string}
UPLOAD_DIR: ${UPLOAD_DIR:-/app/data/uploads}
TIMEZONE: ${TIMEZONE:-Asia/Kolkata}
ACCESS_TOKEN_EXPIRE_MINUTES: ${ACCESS_TOKEN_EXPIRE_MINUTES:-480}
ALGORITHM: ${ALGORITHM:-HS256}
MAX_UPLOAD_SIZE_MB: ${MAX_UPLOAD_SIZE_MB:-10}
AI_PROVIDER: ${AI_PROVIDER:-none}
AI_BASE_URL: ${AI_BASE_URL:-http://localhost:11434}
AI_MODEL: ${AI_MODEL:-}
AI_API_KEY: ${AI_API_KEY:-}
AI_TIMEOUT_SECONDS: ${AI_TIMEOUT_SECONDS:-25}
volumes:
- ./backend/data:/app/data
restart: unless-stopped
frontend:
build: ./frontend
container_name: poona-ams-frontend
ports:
- "5173:80"
depends_on:
- backend
restart: unless-stopped