add Homepage and configure services for discovery

This commit is contained in:
SweetId 2024-02-17 17:17:15 -05:00
parent 5a8d189c72
commit 13a06c60bb
10 changed files with 62 additions and 1 deletions

View File

@ -69,6 +69,16 @@ services:
- traefik.http.services.authentik-secure.loadbalancer.server.port=9000
- traefik.docker.network=proxy
- homepage.group=Cloud
- homepage.name=Authentik
- homepage.icon=authentik.png
- homepage.href=https://${AUTHENTIK_URL}
- homepage.description=Authentification and User management
- homepage.widget.type=authentik
- homepage.widget.url=https://${AUTHENTIK_URL}
- homepage.widget.key=${AUTHENTIK_API_KEY}
worker:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2023.10.7}
restart: unless-stopped

View File

@ -4,4 +4,5 @@ AUTHENTIK_ERROR_REPORTING__ENABLED=true
AUTHENTIK_PORT_HTTP=9000
AUTHENTIK_PORT_HTTPS=9443
AUTHENTIK_URL=auth.example.com
AUTHENTIK_URL=auth.example.com
AUTHENTIK_API_KEY=YourApiKey

View File

@ -0,0 +1,10 @@
version: "3.3"
services:
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: homepage
ports:
- ${HOMEPAGE_HTTP_PORT}:3000
volumes:
- ${HOMEPAGE_DIR}:/app/config # Make sure your local config directory exists
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations

5
Homepage/stack.env Normal file
View File

@ -0,0 +1,5 @@
HOMEPAGE_DIR=/path/to/homepage
HOMEPAGE_HTTP_PORT=3000
HOMEPAGE_PUID=1000
HOMEPAGE_PGID=1000

View File

@ -48,6 +48,15 @@ services:
- traefik.docker.network=proxy
- homepage.group=Media
- homepage.name=Immich
- homepage.icon=immich.png
- homepage.href=${IMMICH_URL}
- homepage.description=Photo gallery
- homepage.widget.type=immich
- homepage.widget.url=${IMMICH_URL}
- homepage.widget.key=${IMMICH_API_KEY}
immich-microservices:
container_name: immich_microservices
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}

View File

@ -4,6 +4,7 @@ IMMICH_PORT_HTTPS=443
IMMICH_URL=immich.example.com
IMMICH_EXTERNAL_DIR=/path/to/external/libraries
IMMICH_UPLOAD_DIR=/path/to/immich/upload
IMMICH_API_KEY=YourApiKey
IMMICH_VERSION=release
DB_PASSWORD=YOUR_DB_PASSWORD

View File

@ -32,3 +32,14 @@ services:
- traefik.http.services.jellyfin-secure.loadbalancer.server.port=8096
- traefik.docker.network=proxy
- homepage.group=Media
- homepage.name=Jellyfin
- homepage.icon=jellyfin.png
- homepage.href=${JELLYFIN_URL}
- homepage.description=Movies
- homepage.widget.type=jellyfin
- homepage.widget.url=${JELLYFIN_URL}
- homepage.widget.key=${JELLYFIN_API_KEY}
- homepage.widget.enableBlocks=true
- homepage.widget.enableNowPlaying=false

View File

@ -1,6 +1,7 @@
JELLYFIN_PORT_HTTP=8096
JELLYFIN_PORT_HTTPS=8920
JELLYFIN_URL=jellyfin.example.com
JELLYFIN_API_KEY=YourApiKey
JELLYFIN_DIR=/path/to/jelly
JELLYFIN_MEDIA_DIR=/path/to/media

View File

@ -45,6 +45,16 @@ services:
- traefik.docker.network=proxy
- homepage.group=Cloud
- homepage.name=Nextcloud
- homepage.icon=nextcloud.png
- homepage.href=https://${NEXTCLOUD_URL}
- homepage.description=Personnal cloud
- homepage.widget.type=nextcloud
- homepage.widget.url=https://${NEXTCLOUD_URL}
- homepage.widget.username=${NEXTCLOUD_API_USERNAME}
- homepage.widget.password=${NEXTCLOUD_API_PASSWORD}
aio-database:
image: nextcloud/aio-postgresql:latest
init: true

View File

@ -5,6 +5,9 @@ NEXTCLOUD_DOCKER_DIR=/path/to/nextcloud
NEXTCLOUD_DATA_DIR=/path/to/users/data
NEXTCLOUD_TRUSTED_CACERTS_DIR=./certificates
NEXTCLOUD_API_USERNAME=YourApiUsername
NEXTCLOUD_API_PASSWORD=YourApiPassword
ADMIN_USER=admin
ADMIN_PASSWORD=YOUR_ADMIN_PASSWORD