new: add Homepage

This commit is contained in:
2024-06-08 22:12:57 +00:00
parent 83cff7450a
commit 0238550f15
2 changed files with 24 additions and 0 deletions

1
homepage/.env.example Normal file
View File

@@ -0,0 +1 @@
# https://gethomepage.dev/latest/installation/docker/#using-environment-secrets

23
homepage/compose.yml Normal file
View File

@@ -0,0 +1,23 @@
services:
homepage:
image: ghcr.io/gethomepage/homepage
container_name: homepage
volumes:
- ./appconf:/app/config
- $SOCKET:/var/run/docker.sock
env_file: .env
restart: unless-stopped
networks:
- dmz
labels:
# Caddy
caddy: "*.{$$INT_DOMAIN}"
caddy.1_@homepage: host homepage.{$$INT_DOMAIN}
caddy.1_handle: "@homepage"
caddy.1_handle.reverse_proxy: "{{upstreams 3000}}"
# Diun
diun.enable: true
networks:
dmz:
external: true