[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