docker-compose.yaml hinzugefügt

This commit is contained in:
2026-06-06 12:30:00 +00:00
commit f6055a2ab4
+28
View File
@@ -0,0 +1,28 @@
version: '3'
services:
homepage:
image: ghcr.io/gethomepage/homepage:v0.9.5 # 🔒 Pin version for stability
container_name: get-homepage
restart: unless-stopped
# Ports only needed if bypassing Traefik locally.
# Safe to remove/comment out when using Traefik properly.
ports:
- "10000:3000"
volumes:
- /mnt/docker/homepage/config:/app/config
- /var/run/docker.sock:/var/run/docker.sock:ro # Read-only for safety
environment:
- HOMEPAGE_ALLOWED_HOSTS=homepage.ljh31.de
labels:
- traefik.enable=true
# Fixed rule syntax with parentheses
- traefik.http.routers.homepage.rule=Host(\`homepage.ljh31.de\`)
- traefik.http.routers.homepage.entrypoints=websecure
- traefik.http.routers.homepage.tls.certresolver=letsencrypt
# TLS is automatically enabled by certresolver, but explicit flag doesn't hurt
- traefik.http.routers.homepage.tls=true
- traefik.http.services.homepage.loadbalancer.server.port=3000