Konfiguration und Schnittstellen
Automatisch erzeugte Navigationsübersicht für Konfiguration und Schnittstellen.
Stand: 2026-09-09
Projekt: Tippspiel
Status: Aktiv; produktiver Compose-Stack auf HALCYON
Zweck
Diese Seite ergänzt die einheitliche Projektstruktur und ordnet die vorhandenen Informationen nachvollziehbar ein.
Grundsatz
Diese Seite enthält eine lesbare, sanitierte Konfigurationsreferenz. Secretwerte, Passwörter, Token, private Schlüssel und API-Schlüssel werden vollständig ausgelassen.
/home/chris/docker/tippspiel/docker-compose.yml
Sanitisierte Referenz; die Originaldatei bleibt die technische Quelle.
services:
tippspiel-web:
image: nginx:alpine
restart: unless-stopped
mem_limit: 128m
cpus: "0.25"
pids_limit: 64
ports:
- "8096:80"
volumes:
- ./api/dist:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
tippspiel-api:
condition: service_started
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:80/"]
interval: 30s
timeout: 10s
retries: 5
start_period: 15s
networks:
- tippspiel-internal
tippspiel-api:
image: node:24-slim
working_dir: /app
command: sh -c "npm ci && node server.js"
restart: unless-stopped
mem_limit: 512m
cpus: "1.0"
pids_limit: 256
volumes:
- ./api:/app
- /app/node_modules
- tippspiel-data:/app/data
networks:
- tippspiel-internal
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3001/api/health', (r) => r.statusCode === 200 ? process.exit(0) : process.exit(1))"]
interval: 15s
timeout: 5s
retries: 5
start_period: 120s
env_file:
- .env
tippspiel-watchdog:
image: node:24-slim
working_dir: /app
command: node /app/watchdog.cjs
restart: unless-stopped
mem_limit: 256m
cpus: "0.25"
pids_limit: 128
volumes:
- ./api:/app
environment:
DOCKER_HOST: http://tippspiel-docker-proxy:2375
TARGET: ${WATCHDOG_TARGET:-tippspiel-api}
WATCHDOG_PROJECT: ${WATCHDOG_PROJECT:-tippspiel}
networks:
- tippspiel-internal
depends_on:
tippspiel-docker-proxy:
condition: service_started
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://tippspiel-docker-proxy:2375/containers/json', (r) => r.statusCode === 200 ? process.exit(0) : process.exit(1)).on('error', () => process.exit(1))"]
interval: 30s
timeout: 10s
retries: 5
start_period: 15s
tippspiel-docker-proxy:
image: tecnativa/docker-socket-proxy:latest
restart: unless-stopped
mem_limit: 128m
cpus: "0.25"
pids_limit: 128
environment:
CONTAINERS: "1"
ALLOW_RESTARTS: "1"
POST: "1"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- tippspiel-internal
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:2375/containers/json"]
interval: 30s
timeout: 10s
retries: 5
start_period: 15s
volumes:
tippspiel-data:
networks:
tippspiel-internal:
driver: bridge
Schnittstellen
Hostports, DNS-Namen, Reverse-Proxy-Ziele und externe APIs sind zusätzlich im Abschnitt Deployment & Betrieb sowie in der zentralen Systemdokumentation zu dokumentieren.
Aus dem Seiteninhalt extrahierte Eckdaten
| Bereich | Nachweis / Inhalt |
|---|---|
| Ports | 8096 |
| Pfade | /home/chris/docker/tippspiel/docker-compose.yml /api/dist:/usr/share/nginx/html:ro /etc/nginx/conf.d/default.conf:ro /app /api /app/node\_modules /app/data /app/watchdog.cjs /var/run/docker.sock:/var/run/docker.sock:ro |
| Images | nginx:alpine 8096:80 usr/share/nginx/html:ro etc/nginx/conf.d/default.conf:ro 127.0.0.1:80 node:24-slim localhost:3001 tippspiel-docker-proxy:2375 WATCHDOG\_TARGET:-tippspiel-api} WATCHDOG\_PROJECT:-tippspiel} |
| Healthchecks | healthcheck /api/health |
Schnittstellenübersicht
| Bereich | Nachweis / Inhalt |
|---|---|
| Erkannte Pfade / Endpunkte | /strong /api/dist:/usr/share/nginx/html:ro /nginx.conf:/etc/nginx/conf.d/default.conf:ro /app /api:/app /app/node\_modules /app/data /localhost:3001/api/health /app/watchdog.cjs |
Verifikation: Endpunkte und Datenfelder sind gegen die maßgebliche Anwendungsschnittstelle beziehungsweise das Repository zu prüfen.