feat: zentrale selfhost-dienste bereitstellen

This commit is contained in:
2026-08-02 16:34:10 +02:00
parent d3ad53bcf0
commit 8b8e0c97d3
30 changed files with 1818 additions and 74 deletions

View File

@@ -4,7 +4,7 @@ services:
environment:
POSTGRES_DB: fedeo_push
POSTGRES_USER: fedeo_push
POSTGRES_PASSWORD: fedeo_push
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-fedeo_push}
ports:
- "5442:5432"
volumes:
@@ -16,29 +16,37 @@ services:
retries: 5
api:
restart: unless-stopped
build:
context: .
dockerfile: apps/api/Dockerfile
env_file: .env
env_file: ${CENTRAL_ENV_FILE:-.env}
environment:
DATABASE_URL: postgres://fedeo_push:fedeo_push@postgres:5432/fedeo_push
DATABASE_URL: postgres://fedeo_push:${POSTGRES_PASSWORD:-fedeo_push}@postgres:5432/fedeo_push
ports:
- "4020:4020"
depends_on:
postgres:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:4020/health"]
interval: 15s
timeout: 5s
retries: 5
admin:
restart: unless-stopped
build:
context: .
dockerfile: apps/admin/Dockerfile
env_file: .env
env_file: ${CENTRAL_ENV_FILE:-.env}
environment:
NUXT_PUBLIC_API_BASE: http://localhost:4020
NUXT_PUBLIC_API_BASE: ${PUBLIC_API_BASE_URL:-http://localhost:4020}
ports:
- "3020:3000"
depends_on:
- api
api:
condition: service_healthy
volumes:
push_postgres_data: