This repository has been archived on 2026-02-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
breakpilot-pwa/edu-search-service/docker-compose.yml
BreakPilot Dev 19855efacc
Some checks failed
Tests / Go Tests (push) Has been cancelled
Tests / Python Tests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / Go Lint (push) Has been cancelled
Tests / Python Lint (push) Has been cancelled
Tests / Security Scan (push) Has been cancelled
Tests / All Checks Passed (push) Has been cancelled
Security Scanning / Secret Scanning (push) Has been cancelled
Security Scanning / Dependency Vulnerability Scan (push) Has been cancelled
Security Scanning / Go Security Scan (push) Has been cancelled
Security Scanning / Python Security Scan (push) Has been cancelled
Security Scanning / Node.js Security Scan (push) Has been cancelled
Security Scanning / Docker Image Security (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
CI/CD Pipeline / Go Tests (push) Has been cancelled
CI/CD Pipeline / Python Tests (push) Has been cancelled
CI/CD Pipeline / Website Tests (push) Has been cancelled
CI/CD Pipeline / Linting (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build & Push (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / CI Summary (push) Has been cancelled
ci/woodpecker/manual/build-ci-image Pipeline was successful
ci/woodpecker/manual/main Pipeline failed
feat: BreakPilot PWA - Full codebase (clean push without large binaries)
All services: admin-v2, studio-v2, website, ai-compliance-sdk,
consent-service, klausur-service, voice-service, and infrastructure.
Large PDFs and compiled binaries excluded via .gitignore.
2026-02-11 13:25:58 +01:00

90 lines
2.4 KiB
YAML

version: '3.8'
services:
edu-search-service:
build: .
container_name: breakpilot-edu-search
ports:
- "8086:8086"
environment:
- PORT=8086
- OPENSEARCH_URL=http://opensearch:9200
- OPENSEARCH_USERNAME=admin
- OPENSEARCH_PASSWORD=${OPENSEARCH_PASSWORD:-admin}
- INDEX_NAME=bp_documents_v1
- EDU_SEARCH_API_KEY=${EDU_SEARCH_API_KEY:-}
- "USER_AGENT=BreakpilotEduCrawler/1.0 (+contact: security@breakpilot.com)"
- RATE_LIMIT_PER_SEC=0.2
- MAX_DEPTH=4
- MAX_PAGES_PER_RUN=500
- DB_HOST=breakpilot-pwa-postgres
- DB_PORT=5432
- DB_USER=breakpilot
- DB_PASSWORD=${DB_PASSWORD:-breakpilot123}
- DB_NAME=breakpilot_db
- DB_SSLMODE=disable
- STAFF_CRAWLER_EMAIL=crawler@breakpilot.de
depends_on:
opensearch:
condition: service_healthy
networks:
- edu-search-network
- breakpilot-pwa-network
restart: unless-stopped
opensearch:
image: opensearchproject/opensearch:2.11.1
container_name: breakpilot-opensearch
environment:
- cluster.name=edu-search-cluster
- node.name=opensearch-node1
- discovery.type=single-node
- bootstrap.memory_lock=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_PASSWORD:-Admin123!}
- plugins.security.disabled=true
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- opensearch-data:/usr/share/opensearch/data
ports:
- "9200:9200"
- "9600:9600"
networks:
- edu-search-network
healthcheck:
test: ["CMD-SHELL", "curl -s http://localhost:9200 >/dev/null || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.11.1
container_name: breakpilot-opensearch-dashboards
ports:
- "5601:5601"
environment:
- OPENSEARCH_HOSTS=["http://opensearch:9200"]
- DISABLE_SECURITY_DASHBOARDS_PLUGIN=true
depends_on:
opensearch:
condition: service_healthy
networks:
- edu-search-network
networks:
edu-search-network:
driver: bridge
breakpilot-pwa-network:
external: true
name: breakpilot-pwa_breakpilot-pwa-network
volumes:
opensearch-data: