Compare commits
6 Commits
5c8307f58a
...
1527f4ffe7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1527f4ffe7 | ||
|
|
db1b3c40ed | ||
|
|
85df14c552 | ||
|
|
72e0f18d08 | ||
|
|
1c8f528c7a | ||
|
|
403cb5b85d |
@@ -193,6 +193,15 @@ const PYTHON_PACKAGES: Component[] = [
|
|||||||
{ type: 'library', name: 'scipy', version: '1.14+', category: 'python', description: 'Signal Processing (Audio)', license: 'BSD-3-Clause', sourceUrl: 'https://github.com/scipy/scipy' },
|
{ type: 'library', name: 'scipy', version: '1.14+', category: 'python', description: 'Signal Processing (Audio)', license: 'BSD-3-Clause', sourceUrl: 'https://github.com/scipy/scipy' },
|
||||||
{ type: 'library', name: 'redis', version: '5.x', category: 'python', description: 'Valkey/Redis Client (Voice Sessions)', license: 'MIT', sourceUrl: 'https://github.com/redis/redis-py' },
|
{ type: 'library', name: 'redis', version: '5.x', category: 'python', description: 'Valkey/Redis Client (Voice Sessions)', license: 'MIT', sourceUrl: 'https://github.com/redis/redis-py' },
|
||||||
{ type: 'library', name: 'pydantic-settings', version: '2.x', category: 'python', description: 'Settings Management (Voice Config)', license: 'MIT', sourceUrl: 'https://github.com/pydantic/pydantic-settings' },
|
{ type: 'library', name: 'pydantic-settings', version: '2.x', category: 'python', description: 'Settings Management (Voice Config)', license: 'MIT', sourceUrl: 'https://github.com/pydantic/pydantic-settings' },
|
||||||
|
{ type: 'library', name: 'pyspellchecker', version: '0.8.1+', category: 'python', description: 'Regel-basierte OCR-Korrektur (klausur-service Schritt 6)', license: 'MIT', sourceUrl: 'https://github.com/barrust/pyspellchecker' },
|
||||||
|
{ type: 'library', name: 'pytesseract', version: '0.3.10+', category: 'python', description: 'Tesseract OCR Engine Wrapper (klausur-service)', license: 'Apache-2.0', sourceUrl: 'https://github.com/madmaze/pytesseract' },
|
||||||
|
{ type: 'library', name: 'opencv-python-headless', version: '4.8+', category: 'python', description: 'Bildverarbeitung, Projektionsprofile, Inpainting (klausur-service)', license: 'Apache-2.0', sourceUrl: 'https://github.com/opencv/opencv-python' },
|
||||||
|
{ type: 'library', name: 'rapidocr-onnxruntime', version: 'latest', category: 'python', description: 'Schnelles OCR ARM64 via ONNX (klausur-service)', license: 'Apache-2.0', sourceUrl: 'https://github.com/RapidAI/RapidOCR' },
|
||||||
|
{ type: 'library', name: 'onnxruntime', version: 'latest', category: 'python', description: 'ONNX-Inferenz für RapidOCR (klausur-service)', license: 'MIT', sourceUrl: 'https://github.com/microsoft/onnxruntime' },
|
||||||
|
{ type: 'library', name: 'eng-to-ipa', version: 'latest', category: 'python', description: 'IPA-Lautschrift-Lookup (klausur-service Vokabel-Pipeline)', license: 'MIT', sourceUrl: 'https://github.com/mphilli/English-to-IPA' },
|
||||||
|
{ type: 'library', name: 'sentence-transformers', version: '2.2+', category: 'python', description: 'Lokale Embeddings (klausur-service, rag-service)', license: 'Apache-2.0', sourceUrl: 'https://github.com/UKPLab/sentence-transformers' },
|
||||||
|
{ type: 'library', name: 'torch', version: '2.0+', category: 'python', description: 'ML-Framework CPU/MPS (TrOCR, klausur-service)', license: 'BSD-3-Clause', sourceUrl: 'https://github.com/pytorch/pytorch' },
|
||||||
|
{ type: 'library', name: 'transformers', version: '4.x', category: 'python', description: 'HuggingFace Transformers (TrOCR, Handschrift-HTR)', license: 'Apache-2.0', sourceUrl: 'https://github.com/huggingface/transformers' },
|
||||||
]
|
]
|
||||||
|
|
||||||
// Key Go modules (from go.mod files)
|
// Key Go modules (from go.mod files)
|
||||||
|
|||||||
@@ -19,17 +19,6 @@ volumes:
|
|||||||
valkey_data:
|
valkey_data:
|
||||||
qdrant_data:
|
qdrant_data:
|
||||||
minio_data:
|
minio_data:
|
||||||
# Communication
|
|
||||||
synapse_data:
|
|
||||||
synapse_db_data:
|
|
||||||
jitsi_web_config:
|
|
||||||
jitsi_web_crontabs:
|
|
||||||
jitsi_transcripts:
|
|
||||||
jitsi_prosody_config:
|
|
||||||
jitsi_prosody_plugins:
|
|
||||||
jitsi_jicofo_config:
|
|
||||||
jitsi_jvb_config:
|
|
||||||
jibri_recordings:
|
|
||||||
# CI/CD
|
# CI/CD
|
||||||
gitea_data:
|
gitea_data:
|
||||||
gitea_config:
|
gitea_config:
|
||||||
@@ -42,7 +31,6 @@ volumes:
|
|||||||
erpnext_sites:
|
erpnext_sites:
|
||||||
erpnext_logs:
|
erpnext_logs:
|
||||||
# Services
|
# Services
|
||||||
voice_session_data:
|
|
||||||
embedding_models:
|
embedding_models:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
@@ -72,10 +60,12 @@ services:
|
|||||||
- "8443:8443" # Jitsi Meet
|
- "8443:8443" # Jitsi Meet
|
||||||
- "3008:3008" # Admin Core
|
- "3008:3008" # Admin Core
|
||||||
- "3010:3010" # Portal Dashboard
|
- "3010:3010" # Portal Dashboard
|
||||||
|
- "8011:8011" # Compliance Docs (MkDocs)
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/conf.d:/etc/nginx/conf.d:ro
|
- ./nginx/conf.d:/etc/nginx/conf.d:ro
|
||||||
- vault_certs:/etc/nginx/certs:ro
|
- vault_certs:/etc/nginx/certs:ro
|
||||||
- ./nginx/html:/usr/share/nginx/html/portal:ro
|
- ./nginx/html:/usr/share/nginx/html/portal:ro
|
||||||
|
- /Users/benjaminadmin/rag-originals:/data/rag-originals:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
vault-agent:
|
vault-agent:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
@@ -193,26 +183,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- breakpilot-network
|
- breakpilot-network
|
||||||
|
|
||||||
synapse-db:
|
|
||||||
image: postgres:16-alpine
|
|
||||||
container_name: bp-core-synapse-db
|
|
||||||
profiles: [chat]
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: synapse
|
|
||||||
POSTGRES_PASSWORD: ${SYNAPSE_DB_PASSWORD:-synapse_secret}
|
|
||||||
POSTGRES_DB: synapse
|
|
||||||
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
|
|
||||||
volumes:
|
|
||||||
- synapse_db_data:/var/lib/postgresql/data
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "pg_isready -U synapse"]
|
|
||||||
interval: 5s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- breakpilot-network
|
|
||||||
|
|
||||||
# =========================================================
|
# =========================================================
|
||||||
# VECTOR DB & OBJECT STORAGE
|
# VECTOR DB & OBJECT STORAGE
|
||||||
# =========================================================
|
# =========================================================
|
||||||
@@ -451,7 +421,7 @@ services:
|
|||||||
- "8099:8099"
|
- "8099:8099"
|
||||||
environment:
|
environment:
|
||||||
PORT: 8099
|
PORT: 8099
|
||||||
CHECK_SERVICES: "postgres:5432,valkey:6379,qdrant:6333,minio:9000,backend-core:8000,rag-service:8097,embedding-service:8087,voice-service:8091"
|
CHECK_SERVICES: "postgres:5432,valkey:6379,qdrant:6333,minio:9000,backend-core:8000,rag-service:8097,embedding-service:8087"
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -464,199 +434,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- breakpilot-network
|
- breakpilot-network
|
||||||
|
|
||||||
# =========================================================
|
|
||||||
# COMMUNICATION
|
|
||||||
# =========================================================
|
|
||||||
synapse:
|
|
||||||
image: matrixdotorg/synapse:latest
|
|
||||||
container_name: bp-core-synapse
|
|
||||||
profiles: [chat]
|
|
||||||
ports:
|
|
||||||
- "8008:8008"
|
|
||||||
- "8448:8448"
|
|
||||||
volumes:
|
|
||||||
- synapse_data:/data
|
|
||||||
environment:
|
|
||||||
SYNAPSE_SERVER_NAME: ${SYNAPSE_SERVER_NAME:-macmini}
|
|
||||||
SYNAPSE_REPORT_STATS: "no"
|
|
||||||
SYNAPSE_NO_TLS: "true"
|
|
||||||
SYNAPSE_ENABLE_REGISTRATION: ${SYNAPSE_ENABLE_REGISTRATION:-true}
|
|
||||||
SYNAPSE_LOG_LEVEL: ${SYNAPSE_LOG_LEVEL:-WARNING}
|
|
||||||
UID: "1000"
|
|
||||||
GID: "1000"
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:8008/health"]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
start_period: 30s
|
|
||||||
retries: 3
|
|
||||||
depends_on:
|
|
||||||
synapse-db:
|
|
||||||
condition: service_healthy
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- breakpilot-network
|
|
||||||
|
|
||||||
jitsi-web:
|
|
||||||
image: jitsi/web:stable-9823
|
|
||||||
container_name: bp-core-jitsi-web
|
|
||||||
expose:
|
|
||||||
- "80"
|
|
||||||
volumes:
|
|
||||||
- jitsi_web_config:/config
|
|
||||||
- jitsi_web_crontabs:/var/spool/cron/crontabs
|
|
||||||
- jitsi_transcripts:/usr/share/jitsi-meet/transcripts
|
|
||||||
environment:
|
|
||||||
ENABLE_XMPP_WEBSOCKET: "true"
|
|
||||||
ENABLE_COLIBRI_WEBSOCKET: "true"
|
|
||||||
XMPP_DOMAIN: ${XMPP_DOMAIN:-meet.jitsi}
|
|
||||||
XMPP_BOSH_URL_BASE: http://jitsi-xmpp:5280
|
|
||||||
XMPP_MUC_DOMAIN: ${XMPP_MUC_DOMAIN:-muc.meet.jitsi}
|
|
||||||
XMPP_GUEST_DOMAIN: ${XMPP_GUEST_DOMAIN:-guest.meet.jitsi}
|
|
||||||
TZ: ${TZ:-Europe/Berlin}
|
|
||||||
PUBLIC_URL: ${JITSI_PUBLIC_URL:-https://macmini:8443}
|
|
||||||
JICOFO_AUTH_USER: focus
|
|
||||||
ENABLE_AUTH: ${JITSI_ENABLE_AUTH:-false}
|
|
||||||
ENABLE_GUESTS: "true"
|
|
||||||
ENABLE_RECORDING: "true"
|
|
||||||
ENABLE_LIVESTREAMING: "false"
|
|
||||||
DISABLE_HTTPS: "true"
|
|
||||||
APP_NAME: "BreakPilot Meet"
|
|
||||||
NATIVE_APP_NAME: "BreakPilot Meet"
|
|
||||||
PROVIDER_NAME: "BreakPilot"
|
|
||||||
depends_on:
|
|
||||||
- jitsi-xmpp
|
|
||||||
networks:
|
|
||||||
breakpilot-network:
|
|
||||||
aliases:
|
|
||||||
- meet.jitsi
|
|
||||||
|
|
||||||
jitsi-xmpp:
|
|
||||||
image: jitsi/prosody:stable-9823
|
|
||||||
container_name: bp-core-jitsi-xmpp
|
|
||||||
volumes:
|
|
||||||
- jitsi_prosody_config:/config
|
|
||||||
- jitsi_prosody_plugins:/prosody-plugins-custom
|
|
||||||
environment:
|
|
||||||
XMPP_DOMAIN: ${XMPP_DOMAIN:-meet.jitsi}
|
|
||||||
XMPP_AUTH_DOMAIN: ${XMPP_AUTH_DOMAIN:-auth.meet.jitsi}
|
|
||||||
XMPP_MUC_DOMAIN: ${XMPP_MUC_DOMAIN:-muc.meet.jitsi}
|
|
||||||
XMPP_INTERNAL_MUC_DOMAIN: ${XMPP_INTERNAL_MUC_DOMAIN:-internal-muc.meet.jitsi}
|
|
||||||
XMPP_GUEST_DOMAIN: ${XMPP_GUEST_DOMAIN:-guest.meet.jitsi}
|
|
||||||
XMPP_RECORDER_DOMAIN: ${XMPP_RECORDER_DOMAIN:-recorder.meet.jitsi}
|
|
||||||
XMPP_CROSS_DOMAIN: "true"
|
|
||||||
TZ: ${TZ:-Europe/Berlin}
|
|
||||||
JICOFO_AUTH_USER: focus
|
|
||||||
JICOFO_AUTH_PASSWORD: ${JICOFO_AUTH_PASSWORD:-jicofo_secret}
|
|
||||||
JVB_AUTH_USER: jvb
|
|
||||||
JVB_AUTH_PASSWORD: ${JVB_AUTH_PASSWORD:-jvb_secret}
|
|
||||||
JIBRI_XMPP_USER: jibri
|
|
||||||
JIBRI_XMPP_PASSWORD: ${JIBRI_XMPP_PASSWORD:-jibri_secret}
|
|
||||||
JIBRI_RECORDER_USER: recorder
|
|
||||||
JIBRI_RECORDER_PASSWORD: ${JIBRI_RECORDER_PASSWORD:-recorder_secret}
|
|
||||||
LOG_LEVEL: ${XMPP_LOG_LEVEL:-warn}
|
|
||||||
PUBLIC_URL: ${JITSI_PUBLIC_URL:-https://macmini:8443}
|
|
||||||
ENABLE_AUTH: ${JITSI_ENABLE_AUTH:-false}
|
|
||||||
ENABLE_GUESTS: "true"
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
breakpilot-network:
|
|
||||||
aliases:
|
|
||||||
- xmpp.meet.jitsi
|
|
||||||
|
|
||||||
jitsi-jicofo:
|
|
||||||
image: jitsi/jicofo:stable-9823
|
|
||||||
container_name: bp-core-jitsi-jicofo
|
|
||||||
volumes:
|
|
||||||
- jitsi_jicofo_config:/config
|
|
||||||
environment:
|
|
||||||
XMPP_DOMAIN: ${XMPP_DOMAIN:-meet.jitsi}
|
|
||||||
XMPP_AUTH_DOMAIN: ${XMPP_AUTH_DOMAIN:-auth.meet.jitsi}
|
|
||||||
XMPP_MUC_DOMAIN: ${XMPP_MUC_DOMAIN:-muc.meet.jitsi}
|
|
||||||
XMPP_INTERNAL_MUC_DOMAIN: ${XMPP_INTERNAL_MUC_DOMAIN:-internal-muc.meet.jitsi}
|
|
||||||
XMPP_SERVER: jitsi-xmpp
|
|
||||||
JICOFO_AUTH_USER: focus
|
|
||||||
JICOFO_AUTH_PASSWORD: ${JICOFO_AUTH_PASSWORD:-jicofo_secret}
|
|
||||||
TZ: ${TZ:-Europe/Berlin}
|
|
||||||
ENABLE_AUTH: ${JITSI_ENABLE_AUTH:-false}
|
|
||||||
AUTH_TYPE: internal
|
|
||||||
ENABLE_AUTO_OWNER: "true"
|
|
||||||
depends_on:
|
|
||||||
- jitsi-xmpp
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- breakpilot-network
|
|
||||||
|
|
||||||
jitsi-jvb:
|
|
||||||
image: jitsi/jvb:stable-9823
|
|
||||||
container_name: bp-core-jitsi-jvb
|
|
||||||
ports:
|
|
||||||
- "10000:10000/udp"
|
|
||||||
- "8080:8080"
|
|
||||||
volumes:
|
|
||||||
- jitsi_jvb_config:/config
|
|
||||||
environment:
|
|
||||||
XMPP_DOMAIN: ${XMPP_DOMAIN:-meet.jitsi}
|
|
||||||
XMPP_AUTH_DOMAIN: ${XMPP_AUTH_DOMAIN:-auth.meet.jitsi}
|
|
||||||
XMPP_INTERNAL_MUC_DOMAIN: ${XMPP_INTERNAL_MUC_DOMAIN:-internal-muc.meet.jitsi}
|
|
||||||
XMPP_SERVER: jitsi-xmpp
|
|
||||||
JVB_AUTH_USER: jvb
|
|
||||||
JVB_AUTH_PASSWORD: ${JVB_AUTH_PASSWORD:-jvb_secret}
|
|
||||||
JVB_PORT: 10000
|
|
||||||
JVB_STUN_SERVERS: ${JVB_STUN_SERVERS:-stun.l.google.com:19302}
|
|
||||||
TZ: ${TZ:-Europe/Berlin}
|
|
||||||
PUBLIC_URL: ${JITSI_PUBLIC_URL:-https://macmini:8443}
|
|
||||||
COLIBRI_REST_ENABLED: "true"
|
|
||||||
ENABLE_COLIBRI_WEBSOCKET: "true"
|
|
||||||
depends_on:
|
|
||||||
- jitsi-xmpp
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- breakpilot-network
|
|
||||||
|
|
||||||
jibri:
|
|
||||||
build:
|
|
||||||
context: ./docker/jibri
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
container_name: bp-core-jibri
|
|
||||||
volumes:
|
|
||||||
- jibri_recordings:/recordings
|
|
||||||
- /dev/shm:/dev/shm
|
|
||||||
shm_size: 2gb
|
|
||||||
cap_add:
|
|
||||||
- SYS_ADMIN
|
|
||||||
- NET_BIND_SERVICE
|
|
||||||
environment:
|
|
||||||
XMPP_DOMAIN: ${XMPP_DOMAIN:-meet.jitsi}
|
|
||||||
XMPP_AUTH_DOMAIN: ${XMPP_AUTH_DOMAIN:-auth.meet.jitsi}
|
|
||||||
XMPP_INTERNAL_MUC_DOMAIN: ${XMPP_INTERNAL_MUC_DOMAIN:-internal-muc.meet.jitsi}
|
|
||||||
XMPP_RECORDER_DOMAIN: ${XMPP_RECORDER_DOMAIN:-recorder.meet.jitsi}
|
|
||||||
XMPP_SERVER: jitsi-xmpp
|
|
||||||
XMPP_MUC_DOMAIN: ${XMPP_MUC_DOMAIN:-muc.meet.jitsi}
|
|
||||||
JIBRI_XMPP_USER: jibri
|
|
||||||
JIBRI_XMPP_PASSWORD: ${JIBRI_XMPP_PASSWORD:-jibri_secret}
|
|
||||||
JIBRI_RECORDER_USER: recorder
|
|
||||||
JIBRI_RECORDER_PASSWORD: ${JIBRI_RECORDER_PASSWORD:-recorder_secret}
|
|
||||||
JIBRI_BREWERY_MUC: JibriBrewery
|
|
||||||
JIBRI_RECORDING_DIR: /recordings
|
|
||||||
JIBRI_FINALIZE_SCRIPT: /finalize.sh
|
|
||||||
TZ: ${TZ:-Europe/Berlin}
|
|
||||||
DISPLAY: ":0"
|
|
||||||
RESOLUTION: "1920x1080"
|
|
||||||
MINIO_ENDPOINT: minio:9000
|
|
||||||
MINIO_ACCESS_KEY: ${MINIO_ROOT_USER:-breakpilot}
|
|
||||||
MINIO_SECRET_KEY: ${MINIO_ROOT_PASSWORD:-breakpilot123}
|
|
||||||
MINIO_BUCKET: ${MINIO_BUCKET:-breakpilot-recordings}
|
|
||||||
BACKEND_WEBHOOK_URL: http://backend-core:8000/api/recordings/webhook
|
|
||||||
depends_on:
|
|
||||||
- jitsi-xmpp
|
|
||||||
- minio
|
|
||||||
profiles:
|
|
||||||
- recording
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- breakpilot-network
|
|
||||||
|
|
||||||
# =========================================================
|
# =========================================================
|
||||||
# DEVOPS & CI/CD
|
# DEVOPS & CI/CD
|
||||||
# =========================================================
|
# =========================================================
|
||||||
@@ -778,38 +555,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- breakpilot-network
|
- breakpilot-network
|
||||||
|
|
||||||
# =========================================================
|
|
||||||
# WORKFLOW ENGINE
|
|
||||||
# =========================================================
|
|
||||||
camunda:
|
|
||||||
image: camunda/camunda-bpm-platform:7.21.0
|
|
||||||
container_name: bp-core-camunda
|
|
||||||
ports:
|
|
||||||
- "8089:8080"
|
|
||||||
environment:
|
|
||||||
DB_DRIVER: org.postgresql.Driver
|
|
||||||
DB_URL: jdbc:postgresql://postgres:5432/${POSTGRES_DB:-breakpilot_db}
|
|
||||||
DB_USERNAME: ${POSTGRES_USER:-breakpilot}
|
|
||||||
DB_PASSWORD: ${POSTGRES_PASSWORD:-breakpilot123}
|
|
||||||
DB_VALIDATE_ON_BORROW: "true"
|
|
||||||
WAIT_FOR: postgres:5432
|
|
||||||
CAMUNDA_BPM_ADMIN_USER_ID: ${CAMUNDA_ADMIN_USER:-admin}
|
|
||||||
CAMUNDA_BPM_ADMIN_USER_PASSWORD: ${CAMUNDA_ADMIN_PASSWORD:-admin}
|
|
||||||
depends_on:
|
|
||||||
postgres:
|
|
||||||
condition: service_healthy
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:8080/camunda/api/engine"]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
start_period: 60s
|
|
||||||
retries: 5
|
|
||||||
profiles:
|
|
||||||
- bpmn
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- breakpilot-network
|
|
||||||
|
|
||||||
# =========================================================
|
# =========================================================
|
||||||
# DOCUMENTATION & UTILITIES
|
# DOCUMENTATION & UTILITIES
|
||||||
# =========================================================
|
# =========================================================
|
||||||
@@ -844,45 +589,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- breakpilot-network
|
- breakpilot-network
|
||||||
|
|
||||||
# =========================================================
|
|
||||||
# VOICE SERVICE
|
|
||||||
# =========================================================
|
|
||||||
voice-service:
|
|
||||||
build:
|
|
||||||
context: ./voice-service
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
container_name: bp-core-voice-service
|
|
||||||
platform: linux/arm64
|
|
||||||
expose:
|
|
||||||
- "8091"
|
|
||||||
volumes:
|
|
||||||
- voice_session_data:/app/data/sessions
|
|
||||||
environment:
|
|
||||||
PORT: 8091
|
|
||||||
DATABASE_URL: postgresql://${POSTGRES_USER:-breakpilot}:${POSTGRES_PASSWORD:-breakpilot123}@postgres:5432/${POSTGRES_DB:-breakpilot_db}
|
|
||||||
VALKEY_URL: redis://valkey:6379/0
|
|
||||||
KLAUSUR_SERVICE_URL: http://bp-lehrer-klausur-service:8086
|
|
||||||
OLLAMA_BASE_URL: ${OLLAMA_BASE_URL:-http://host.docker.internal:11434}
|
|
||||||
OLLAMA_VOICE_MODEL: ${OLLAMA_VOICE_MODEL:-llama3.2}
|
|
||||||
ENVIRONMENT: ${ENVIRONMENT:-development}
|
|
||||||
JWT_SECRET: ${JWT_SECRET:-your-super-secret-jwt-key-change-in-production}
|
|
||||||
extra_hosts:
|
|
||||||
- "host.docker.internal:host-gateway"
|
|
||||||
depends_on:
|
|
||||||
postgres:
|
|
||||||
condition: service_healthy
|
|
||||||
valkey:
|
|
||||||
condition: service_started
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:8091/health"]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
start_period: 60s
|
|
||||||
retries: 3
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- breakpilot-network
|
|
||||||
|
|
||||||
# =========================================================
|
# =========================================================
|
||||||
# NIGHT SCHEDULER
|
# NIGHT SCHEDULER
|
||||||
# =========================================================
|
# =========================================================
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ server {
|
|||||||
|
|
||||||
# Jitsi WebSocket endpoints
|
# Jitsi WebSocket endpoints
|
||||||
location /xmpp-websocket {
|
location /xmpp-websocket {
|
||||||
set $upstream_jitsi bp-core-jitsi-web:80;
|
set $upstream_jitsi bp-lehrer-jitsi-web:80;
|
||||||
proxy_pass http://$upstream_jitsi;
|
proxy_pass http://$upstream_jitsi;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
@@ -46,7 +46,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /colibri-ws {
|
location /colibri-ws {
|
||||||
set $upstream_jvb bp-core-jitsi-jvb:9090;
|
set $upstream_jvb bp-lehrer-jitsi-jvb:9090;
|
||||||
proxy_pass http://$upstream_jvb;
|
proxy_pass http://$upstream_jvb;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
@@ -60,7 +60,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /http-bind {
|
location /http-bind {
|
||||||
set $upstream_jitsi bp-core-jitsi-web:80;
|
set $upstream_jitsi bp-lehrer-jitsi-web:80;
|
||||||
proxy_pass http://$upstream_jitsi;
|
proxy_pass http://$upstream_jitsi;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
@@ -71,7 +71,7 @@ server {
|
|||||||
|
|
||||||
# Jitsi static assets
|
# Jitsi static assets
|
||||||
location ~ ^/(css|images|fonts|sounds|static|libs|lang|connection_optimization)/ {
|
location ~ ^/(css|images|fonts|sounds|static|libs|lang|connection_optimization)/ {
|
||||||
set $upstream_jitsi bp-core-jitsi-web:80;
|
set $upstream_jitsi bp-lehrer-jitsi-web:80;
|
||||||
proxy_pass http://$upstream_jitsi;
|
proxy_pass http://$upstream_jitsi;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
@@ -81,7 +81,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/(config\.js|interface_config\.js|logging_config\.js|external_api\.js|external_api\.min\.js|favicon\.ico|robots\.txt|manifest\.json|pwa-worker\.js) {
|
location ~ ^/(config\.js|interface_config\.js|logging_config\.js|external_api\.js|external_api\.min\.js|favicon\.ico|robots\.txt|manifest\.json|pwa-worker\.js) {
|
||||||
set $upstream_jitsi bp-core-jitsi-web:80;
|
set $upstream_jitsi bp-lehrer-jitsi-web:80;
|
||||||
proxy_pass http://$upstream_jitsi;
|
proxy_pass http://$upstream_jitsi;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
@@ -91,7 +91,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /jitsi/ {
|
location /jitsi/ {
|
||||||
set $upstream_jitsi bp-core-jitsi-web:80;
|
set $upstream_jitsi bp-lehrer-jitsi-web:80;
|
||||||
rewrite ^/jitsi(/.*)$ $1 break;
|
rewrite ^/jitsi(/.*)$ $1 break;
|
||||||
proxy_pass http://$upstream_jitsi;
|
proxy_pass http://$upstream_jitsi;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
@@ -248,6 +248,15 @@ server {
|
|||||||
proxy_set_header X-Forwarded-Proto https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# RAG Original-PDFs fuer QA Split-View
|
||||||
|
location /rag-originals/ {
|
||||||
|
alias /data/rag-originals/;
|
||||||
|
autoindex off;
|
||||||
|
types { application/pdf pdf; }
|
||||||
|
add_header Cache-Control "public, max-age=86400";
|
||||||
|
add_header X-Content-Type-Options nosniff;
|
||||||
|
}
|
||||||
|
|
||||||
# Admin Lehrer Frontend (fallback for everything else)
|
# Admin Lehrer Frontend (fallback for everything else)
|
||||||
location / {
|
location / {
|
||||||
set $upstream_admin_lehrer bp-lehrer-admin:3000;
|
set $upstream_admin_lehrer bp-lehrer-admin:3000;
|
||||||
@@ -564,7 +573,8 @@ server {
|
|||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
proxy_read_timeout 300s;
|
proxy_read_timeout 600s;
|
||||||
|
proxy_send_timeout 600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -620,6 +630,31 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# =========================================================
|
||||||
|
# COMPLIANCE: Docs (MkDocs) on port 8011
|
||||||
|
# =========================================================
|
||||||
|
server {
|
||||||
|
listen 8011 ssl;
|
||||||
|
http2 on;
|
||||||
|
server_name macmini localhost;
|
||||||
|
|
||||||
|
ssl_certificate /etc/nginx/certs/macmini.crt;
|
||||||
|
ssl_certificate_key /etc/nginx/certs/macmini.key;
|
||||||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
|
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256;
|
||||||
|
ssl_prefer_server_ciphers off;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
set $upstream_docs bp-compliance-docs:80;
|
||||||
|
proxy_pass http://$upstream_docs;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# =========================================================
|
# =========================================================
|
||||||
# CORE: Jitsi Meet on port 8443
|
# CORE: Jitsi Meet on port 8443
|
||||||
# =========================================================
|
# =========================================================
|
||||||
@@ -635,7 +670,7 @@ server {
|
|||||||
ssl_prefer_server_ciphers off;
|
ssl_prefer_server_ciphers off;
|
||||||
|
|
||||||
location /xmpp-websocket {
|
location /xmpp-websocket {
|
||||||
set $upstream_jitsi bp-core-jitsi-web:80;
|
set $upstream_jitsi bp-lehrer-jitsi-web:80;
|
||||||
proxy_pass http://$upstream_jitsi;
|
proxy_pass http://$upstream_jitsi;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
@@ -649,7 +684,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /colibri-ws {
|
location /colibri-ws {
|
||||||
set $upstream_jvb bp-core-jitsi-jvb:9090;
|
set $upstream_jvb bp-lehrer-jitsi-jvb:9090;
|
||||||
proxy_pass http://$upstream_jvb;
|
proxy_pass http://$upstream_jvb;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
@@ -663,7 +698,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
set $upstream_jitsi bp-core-jitsi-web:80;
|
set $upstream_jitsi bp-lehrer-jitsi-web:80;
|
||||||
proxy_pass http://$upstream_jitsi;
|
proxy_pass http://$upstream_jitsi;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|||||||
@@ -679,24 +679,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a class="card card-compliance" href="https://macmini:3007/dashboard">
|
|
||||||
<div class="stripe stripe-compliance"></div>
|
|
||||||
<div class="card-body">
|
|
||||||
<h3>Compliance Dashboard</h3>
|
|
||||||
<p>Kataloge, Statistiken, Verwaltung</p>
|
|
||||||
<div class="url">macmini:3007/dashboard</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="card card-compliance" href="https://macmini:3007/dashboard">
|
|
||||||
<div class="stripe stripe-compliance"></div>
|
|
||||||
<div class="card-body">
|
|
||||||
<h3>Katalogverwaltung</h3>
|
|
||||||
<p>SDK-Kataloge & Auswahltabellen</p>
|
|
||||||
<div class="url">macmini:3007/dashboard</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="card card-compliance" href="https://macmini:3010/compliance-hub/">
|
<a class="card card-compliance" href="https://macmini:3010/compliance-hub/">
|
||||||
<div class="stripe stripe-compliance"></div>
|
<div class="stripe stripe-compliance"></div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
|||||||
Reference in New Issue
Block a user