feat: add /think for second AI phase

This commit is contained in:
2026-04-19 22:53:29 +02:00
parent 7ef93276e1
commit 71513ea62c
4 changed files with 65 additions and 1 deletions

58
docker-compose.prod.yml Normal file
View File

@ -0,0 +1,58 @@
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_DB: ${POSTGRES_DB:-tradarr}
POSTGRES_USER: ${POSTGRES_USER:-tradarr}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-tradarr}"]
interval: 10s
timeout: 5s
retries: 5
scraper:
image: gitea.anthonybouteiller.ovh/blomios/tradarr-scraper:v1.0.0
restart: unless-stopped
expose:
- "3001"
backend:
image: gitea.anthonybouteiller.ovh/blomios/tradarr-backend:v1.0.0
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
scraper:
condition: service_started
environment:
DATABASE_URL: "host=postgres port=5432 user=${POSTGRES_USER:-tradarr} password=${POSTGRES_PASSWORD} dbname=${POSTGRES_DB:-tradarr} sslmode=disable"
JWT_SECRET: ${JWT_SECRET:?JWT_SECRET is required}
ENCRYPTION_KEY: ${ENCRYPTION_KEY:?ENCRYPTION_KEY must be 32 bytes hex}
PORT: "8080"
SCRAPER_URL: "http://scraper:3001"
ADMIN_EMAIL: ${ADMIN_EMAIL:-admin@tradarr.local}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-changeme}
expose:
- "8080"
ollama:
image: ollama/ollama
restart: unless-stopped
volumes:
- ollama_data:/root/.ollama
frontend:
image: gitea.anthonybouteiller.ovh/blomios/tradarr-frontend:v1.0.0
restart: unless-stopped
depends_on:
- backend
ports:
- "${FRONTEND_PORT:-80}:80"
volumes:
pgdata:
ollama_data: