Adds firefly and homebox, replaces nginx-proxy/acme-companion with acme

This commit is contained in:
tga
2026-08-15 20:08:35 +02:00
parent 7e87a6cbb9
commit c8af74ad7d
38 changed files with 596 additions and 52 deletions
+7
View File
@@ -0,0 +1,7 @@
[Volume]
Copy=true
Device=/var/mnt/nas/containers/homebox/storage/data
Driver=local
Options=bind
Type=none
VolumeName=homebox-data
@@ -0,0 +1,27 @@
[Unit]
Description=HomeBox database container
[Container]
AutoUpdate=registry
ContainerName=homebox-database
Environment=POSTGRES_USER=homebox
Environment=POSTGRES_DB=homebox
Environment=TZ=Europe/Zurich
HealthCmd=pg_isready -U homebox
HealthInterval=30s
HealthTimeout=10s
HealthRetries=5
Image=docker.io/postgres:18
Label=io.containers.autoupdate=registry
Pod=homebox.pod
Secret=database-password,type=env,target=POSTGRES_PASSWORD
StartWithPod=true
Timezone=Europe/Zurich
Volume=homebox-database.volume:/var/lib/postgresql
Volume=/var/mnt/nas/containers/homebox/storage/database-backup:/backup
[Service]
Restart=always
[Install]
WantedBy=default.target
+2
View File
@@ -0,0 +1,2 @@
[Volume]
VolumeName=homebox-database
+36
View File
@@ -0,0 +1,36 @@
[Unit]
Description=HomeBox container
After=homebox-database.container
Requires=homebox-database.container
[Container]
AutoUpdate=registry
ContainerName=homebox
Environment=HBOX_DATABASE_DATABASE=homebox
Environment=HBOX_DATABASE_DRIVER=postgres
Environment=HBOX_DATABASE_HOST=homebox-database
Environment=HBOX_DATABASE_PORT=5432
Environment=HBOX_DATABASE_SSL_MODE=disable
Environment=HBOX_DATABASE_USERNAME=homebox
Environment=HBOX_LOG_LEVEL=info
Environment=HBOX_LOG_FORMAT=text
Environment=HBOX_MODE=production
Environment=HBOX_OPTIONS_ALLOW_ANALYTICS=false
Environment=HBOX_OPTIONS_ALLOW_REGISTRATION=false
Environment=HBOX_OPTIONS_TRUST_PROXY=true
Environment=HBOX_WEB_MAX_UPLOAD_SIZE=10
Environment=TZ=Europe/Zurich
Image=ghcr.io/sysadminsmedia/homebox:latest-hardened
Label=io.containers.autoupdate=registry
Pod=homebox.pod
Secret=homebox-pepper,type=env,target=HBOX_AUTH_API_KEY_PEPPER
Secret=database-password,type=env,target=HBOX_DATABASE_PASSWORD
StartWithPod=true
Timezone=Europe/Zurich
Volume=homebox-data.volume:/data
[Service]
Restart=always
[Install]
WantedBy=default.target
+3
View File
@@ -0,0 +1,3 @@
[Pod]
PodName=homebox
PublishPort=9027:7445