Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- # Foundry Knowledge Engine (FKE) infrastructure.
- # Start with: pwsh -File scripts/Start-Foundry.ps1 (or: docker compose up -d)
- name: foundry
-
- services:
- postgres:
- image: pgvector/pgvector:pg16
- container_name: foundry-postgres
- restart: unless-stopped
- environment:
- POSTGRES_DB: foundry
- POSTGRES_USER: foundry
- POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?Run scripts/Initialize-Foundry.ps1 to create .env}
- ports:
- - "127.0.0.1:5433:5432"
- volumes:
- - postgres_data:/var/lib/postgresql/data
- healthcheck:
- test: ["CMD-SHELL", "pg_isready -U foundry -d foundry"]
- interval: 10s
- timeout: 5s
- retries: 5
-
- # Optional. The module uses an Ollama already running on the host (http://localhost:11434)
- # by default. Use this container only if you have none:
- # docker compose --profile ollama-container up -d
- # $env:FOUNDRY_OLLAMA_URL = 'http://localhost:11435'
- ollama:
- image: ollama/ollama
- container_name: foundry-ollama
- profiles: ["ollama-container"]
- restart: unless-stopped
- ports:
- - "127.0.0.1:11435:11434"
- volumes:
- - ollama_data:/root/.ollama
-
- volumes:
- postgres_data:
- ollama_data:
|