Files
lan-clipboard/compose.yaml
T
dbildhauerandClaude Opus 5.5 70af4341c9 build: dockerfile, compose und readme
- Multi-Stage-Build: Node baut das Frontend, python:3.13-slim liefert aus
- Entrypoint setzt Rechte für /data, migriert und startet Uvicorn als UID 1000
- Port nur an die LAN-IP gebunden (192.168.50.123:8085)
- Healthcheck gegen /api/health, reduzierte Capabilities, Speicherlimit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 11:04:33 +01:00

31 lines
657 B
YAML

name: lan-clipboard
services:
app:
build: .
image: lan-clipboard:local
container_name: lan-clipboard
restart: unless-stopped
ports:
- "${BIND_IP:?BIND_IP must be set in .env}:${APP_PORT:-8085}:8000"
environment:
FORWARDED_ALLOW_IPS: ${FORWARDED_ALLOW_IPS:-127.0.0.1}
LOG_LEVEL: ${LOG_LEVEL:-info}
TZ: ${TZ:-Europe/Berlin}
volumes:
- ./data:/data
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- CHOWN
- SETUID
- SETGID
mem_limit: 256m
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"