- Add Python FastAPI backend with Pydantic validation - Port WhiskClient and MetaAIClient to Python - Create API routers for all endpoints - Add Swagger/ReDoc documentation at /docs - Update Dockerfile for multi-service container - Add lib/api.ts frontend client - Update README for V3
19 lines
530 B
YAML
19 lines
530 B
YAML
services:
|
|
kv-pix:
|
|
image: git.khoavo.myds.me/vndangkhoa/apix:latest
|
|
container_name: kv-pix
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000" # Next.js frontend
|
|
- "8000:8000" # FastAPI backend
|
|
environment:
|
|
- NODE_ENV=production
|
|
volumes:
|
|
- ./data:/app/data # Persist prompt library
|
|
# Optional: Meta AI Free Wrapper (if needed)
|
|
# metaai-free-api:
|
|
# build: ./services/metaai-api
|
|
# container_name: metaai-free-api
|
|
# restart: unless-stopped
|
|
# ports:
|
|
# - "8001:8000"
|