Fix: settings + docker-compose korrigiert für Hintergrundbild
- Korrekter Container-Pfad: /app/config/jonatan-pie-...jpg (nicht /data/...) - Layout an neue Kategorien angepasst (alte entfernt) - services_sun.yaml auskommentiert - Docker-Volume für Bild korrekt Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@ -1,21 +1,22 @@
|
||||
# Beispiel: Beide Service-Dateien in Homepage laden
|
||||
# Kopiere diesen Block in deine docker-compose.yml
|
||||
# docker-compose.yml für Homepage (korrigiert)
|
||||
# WICHTIG: Bild muss ins Container-Verzeichnis /app/config/ gemountet werden!
|
||||
|
||||
services:
|
||||
homepage:
|
||||
image: ghcr.io/gethomepage/homepage:latest
|
||||
container_name: homepage
|
||||
volumes:
|
||||
# Öffentliche Services (aus alf/homepage_services)
|
||||
- /opt/homepage/public/services.yaml:/app/config/services.yaml:ro
|
||||
# Privates Sun-Repo (optional)
|
||||
# - /opt/homepage/private/services_sun.yaml:/app/config/services_sun.yaml:ro
|
||||
# Hintergrundbild (aus diesem Repo)
|
||||
- /opt/homepage/public/jonatan-pie-3l3RwQdHRHg-unsplash.jpg:/app/config/jonatan-pie-3l3RwQdHRHg-unsplash.jpg:ro
|
||||
- /opt/homepage/config/settings.yaml:/app/config/settings.yaml:ro
|
||||
# Config-Ordner (settings.yaml, services.yaml)
|
||||
- /data/compose/homepage/config:/app/config
|
||||
# Hintergrundbild aus dem Git-Repo ins Config-Verzeichnis kopieren:
|
||||
# cp jonatan-pie-3l3RwQdHRHg-unsplash.jpg /data/compose/homepage/config/
|
||||
# ODER direkt mounten:
|
||||
- /data/compose/homepage/repo/jonatan-pie-3l3RwQdHRHg-unsplash.jpg:/app/config/jonatan-pie-3l3RwQdHRHg-unsplash.jpg:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
ports:
|
||||
- "8082:8082"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- HOMEPAGE_ALLOWED_HOSTS=*
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
|
||||
@ -1,17 +1,38 @@
|
||||
# settings.yaml für Homepage
|
||||
# Hintergrundbild: jonatan-pie-3l3RwQdHRHg-unsplash.jpg (liegt im Repo)
|
||||
# settings.yaml für Homepage (korrigiert)
|
||||
# Hintergrundbild: jonatan-pie-3l3RwQdHRHg-unsplash.jpg
|
||||
|
||||
providers:
|
||||
openweathermap: openweathermapapikey
|
||||
weatherapi: weatherapiapikey
|
||||
|
||||
language: de
|
||||
enableSimpleIcons: true
|
||||
|
||||
title: Wraltos Homepage
|
||||
theme: dark
|
||||
color: slate
|
||||
|
||||
# WICHTIG: Pfad im CONTAINER (/app/config/), nicht Host-Pfad!
|
||||
background:
|
||||
image: /app/config/jonatan-pie-3l3RwQdHRHg-unsplash.jpg
|
||||
blur: sm # none, sm, md, xl
|
||||
saturate: 80 # 0-100
|
||||
brightness: 60 # 0-100
|
||||
opacity: 70 # 0-100
|
||||
blur: sm
|
||||
saturate: 80
|
||||
brightness: 60
|
||||
opacity: 70
|
||||
|
||||
services:
|
||||
- services.yaml
|
||||
# - services_sun.yaml # nur wenn privates Repo eingebunden
|
||||
# - services_sun.yaml # nur wenn Datei vorhanden
|
||||
|
||||
# Layout an NEUE Kategorien anpassen (alte entfernt!)
|
||||
layout:
|
||||
Monitoring:
|
||||
icon: mdi:monitor-dashboard
|
||||
Multimedia:
|
||||
icon: mdi:play-circle
|
||||
Server:
|
||||
icon: mdi:server
|
||||
Dokumentation:
|
||||
icon: mdi:book-open-variant
|
||||
Tools:
|
||||
icon: mdi:tools
|
||||
|
||||
Reference in New Issue
Block a user