mess: UV + settings KISS + fixes

This commit is contained in:
2026-04-24 18:10:55 +02:00
parent 58408d0dbe
commit 610dee365c
14 changed files with 6760 additions and 1683 deletions
+29 -11
View File
@@ -9,7 +9,7 @@ services:
args:
PYTHON_VERSION: ${PYTHON_VERSION}
PYTHON_VERSION_SHORT: ${PYTHON_VERSION_SHORT}
RUNNER: ${RUNNER}
UV_VERSION: ${UV_VERSION}
command: python scripts/bootstrap.py
networks:
- alfred-net
@@ -23,13 +23,15 @@ services:
args:
PYTHON_VERSION: ${PYTHON_VERSION}
PYTHON_VERSION_SHORT: ${PYTHON_VERSION_SHORT}
RUNNER: ${RUNNER}
UV_VERSION: ${UV_VERSION}
depends_on:
alfred-init:
condition: service_completed_successfully
restart: unless-stopped
env_file:
- path: .env
- path: .env.alfred
required: true
- path: .env.secrets
required: true
volumes:
- ./data:/data
@@ -52,7 +54,11 @@ services:
condition: service_healthy
restart: unless-stopped
env_file:
- path: .env
- path: .env.librechat
required: true
- path: .env.alfred
required: true
- path: .env.secrets
required: true
environment:
# Remap value name
@@ -78,7 +84,9 @@ services:
alfred-init:
condition: service_completed_successfully
env_file:
- path: .env
- path: .env.alfred
required: true
- path: .env.secrets
required: true
environment:
# Remap value name
@@ -107,7 +115,9 @@ services:
condition: service_completed_successfully
restart: unless-stopped
env_file:
- path: .env
- path: .env.alfred
required: true
- path: .env.secrets
required: true
volumes:
- ./data/ollama:/root/.ollama
@@ -124,7 +134,9 @@ services:
condition: service_completed_successfully
restart: unless-stopped
env_file:
- path: .env
- path: .env.alfred
required: true
- path: .env.secrets
required: true
volumes:
- ./data/meilisearch:/meili_data
@@ -143,7 +155,9 @@ services:
condition: service_healthy
restart: unless-stopped
env_file:
- path: .env
- path: .env.alfred
required: true
- path: .env.secrets
required: true
ports:
- "${RAG_API_PORT}:${RAG_API_PORT}"
@@ -162,7 +176,9 @@ services:
condition: service_completed_successfully
restart: unless-stopped
env_file:
- path: .env
- path: .env.alfred
required: true
- path: .env.secrets
required: true
ports:
- "${POSTGRES_PORT}:${POSTGRES_PORT}"
@@ -170,7 +186,7 @@ services:
- ./data/vectordb:/var/lib/postgresql/data
profiles: ["rag", "full"]
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB_NAME}" ]
test: [ "CMD-SHELL", "pg_isready -U $${POSTGRES_USER:-alfred} -d $${POSTGRES_DB_NAME:-alfred}" ]
interval: 5s
timeout: 5s
retries: 5
@@ -188,7 +204,9 @@ services:
condition: service_completed_successfully
restart: unless-stopped
env_file:
- path: .env
- path: .env.alfred
required: true
- path: .env.secrets
required: true
environment:
- PUID=1000