feat(homepage): add homepage stack

This commit is contained in:
2026-01-24 12:55:35 +01:00
parent 4eaf5d16f3
commit 546b76590d
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
PORT="7676"
CONFIG_PATH="../../volumes/homepage"
IMAGES_PATH="../../volumes/homepage/images"
DISK_MONITOR_PATH="/path/to/your/disk"
HOMEPAGE_ALLOWED_HOSTS="mydomain.com" # Change this!

View File

@@ -0,0 +1,13 @@
services:
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: homepage
ports:
- "${PORT:-7676}:3000"
volumes:
- "${CONFIG_PATH:?}:/app/config"
- "/var/run/docker.sock:/var/run/docker.sock" # (optional) For docker integrations
- "${IMAGES_PATH:?}:/app/public/images"
- "${DISK_MONITOR_PATH:?}:/mnt/dandelion:ro" # (optional) Needed to show disk space left
environment:
HOMEPAGE_ALLOWED_HOSTS: "${HOMEPAGE_ALLOWED_HOSTS:-*}"