Homer
Homer
Homer is a static homepage for listing services/projects available in a homelab.
Configuration
Image
To use homer, it needs to be included in your generated image. Update your build configuration to include it.
.config/my-server-build
{
"containers": [
"homer"
]
}
Service
A systemd container unit for homer has been included in automatos-server
. This container unit file is functional as-is, but users can extend it to incorporate additional customizations using drop-ins.
[Unit]
Description=Container service for Homer
Requires=network-online.target nss-lookup.target
After=network-online.target nss-lookup.target
[Container]
ContainerName=%p
Image=docker.io/b4bz/homer:latest
Volume=${CONTAINER_PATH}/assets:/www/assets:Z
PublishPort=${WEB_PORT}:8080
AutoUpdate=registry
[Service]
ExecCondition=/usr/bin/test -d "${CONTAINER_PATH}/assets"
Restart=on-failure
[Install]
WantedBy=default.target
References
Last updated on