Files
hcrb/docker-compose.yml
T
2026-10-10 13:54:33 +02:00

23 lines
702 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
hcrb:
build: .
image: hcrb
container_name: hcrb
restart: unless-stopped
# Kein Port nach außen – der Nginx Proxy Manager erreicht den Container über das gemeinsame Netz als hcrb:3000
environment:
TZ: Europe/Berlin
# Anfragen kommen vom Proxy-Container aus dem Docker-Netz (172.x.x.x)
TRUST_PROXY: "loopback, uniquelocal"
volumes:
# Mitglieder, Termine, Logins – bleiben bei Updates und Neubau des Containers erhalten
- ./data:/app/data
networks:
- proxy
networks:
proxy:
# Netz des Nginx Proxy Managers – Name steht in der Datei .env (PROXY_NETWORK=...)
external: true
name: ${PROXY_NETWORK:-proxy}