Sun-Panel — a server/NAS navigation panel and homepage (a browser start page) with app bookmarks, rich icons, a system-status widget and custom CSS/JS. Deployed as a single host-networked Nomad service with SQLite storage.
Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.
Source ↗ Project ↗ ★ 5.3k ⚑ Report an issue
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "sun-panel"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The Sun-Panel container image. Pin a tag in production.
image = "hslr/sun-panel:latest"
# Host port for the Sun-Panel web UI.
port = 3002
# Named volume for Sun-Panel config, database and uploads (/app/conf).
conf_volume = "sun_panel_conf"
# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []
# Resources for the Sun-Panel task.
resources = {
cpu = 300
memory = 256
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "sun-panel" | The name of the Nomad job. |
| namespace | string | "default" | The Nomad namespace to deploy into. |
| datacenters | list | ["*"] | The datacenters to deploy to. |
| image | string | "hslr/sun-panel:latest" | The Sun-Panel container image. Pin a tag in production. |
| port | number | 3002 | Host port for the Sun-Panel web UI. |
| conf_volume | string | "sun_panel_conf" | Named volume for Sun-Panel config, database and uploads (/app/conf). |
| constraints | list | [] | Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true". |
| resources | object | {
cpu = 300
memory = 256
} | Resources for the Sun-Panel task. |
No variables match.
This pack stores data in one Docker named volume:
sun_panel_conf
restic
# Run on the node hosting this pack. Point restic at your repo first: # export RESTIC_REPOSITORY="s3:https://<account>.r2.cloudflarestorage.com/<bucket>" # export RESTIC_PASSWORD="<repo-password>" # export AWS_ACCESS_KEY_ID=<key> AWS_SECRET_ACCESS_KEY=<secret> restic backup \ /var/lib/docker/volumes/sun_panel_conf/_data
rclone (sync to S3/R2)
rclone sync /var/lib/docker/volumes/sun_panel_conf/_data backup:<bucket>/sun_panel_conf
Paths assume the default Docker volume location (/var/lib/docker/volumes). Restore by stopping the job, restoring files into the same volume, and re-running the pack.
Sun-Panel is a server / NAS navigation panel and homepage — a browser start page with app bookmarks, rich icons (Iconify), a system-status widget, multiple accounts and custom CSS/JS.
This pack runs Sun-Panel as a single host-networked Nomad job. Its config, SQLite database
and uploads live in the sun_panel_conf volume (/app/conf) — no external database is
required.
nomad-pack run sun-panel --registry=nomploy
Then open http://<node-ip>:3002 and sign in with the default account:
admin@sun.cc12345678Change the password immediately.
| Variable | Default | Notes |
|---|---|---|
port |
3002 |
Web UI host port |
conf_volume |
sun_panel_conf |
Config + SQLite database + uploads |
The server listens on 3002 inside the container; if you change port, also update
http_port in /app/conf/conf.ini. Data persists in the sun_panel_conf named volume.