Adminer — a full-featured database management tool in a single PHP file (PostgreSQL, MySQL/MariaDB, SQLite, and more). Deployed as a stateless host-networked Nomad service; pairs with the postgres/mariadb packs.
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "adminer"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The Adminer container image.
image = "adminer:latest"
# Host port for the Adminer web UI. Default 8083 to avoid common 8080 clashes (nginx/fleet/keycloak).
port = 8083
# Optional DB server host:port to pre-fill on the login page (e.g. 127.0.0.1:5432 for the postgres pack). Empty = leave the field blank.
default_server = ""
# Optional Adminer CSS theme name (e.g. dracula, pepa-linha, nette). Empty = default theme.
design = ""
# Number of instances (Adminer is stateless, so this can be >1 if you give each a distinct port/node).
count = 1
# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []
# The task resources.
resources = {
cpu = 200
memory = 128
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "adminer" | The name of the Nomad job. |
| namespace | string | "default" | The Nomad namespace to deploy into. |
| datacenters | list | ["*"] | The datacenters to deploy to. |
| image | string | "adminer:latest" | The Adminer container image. |
| port | number | 8083 | Host port for the Adminer web UI. Default 8083 to avoid common 8080 clashes (nginx/fleet/keycloak). |
| default_server | string | "" | Optional DB server host:port to pre-fill on the login page (e.g. 127.0.0.1:5432 for the postgres pack). Empty = leave the field blank. |
| design | string | "" | Optional Adminer CSS theme name (e.g. dracula, pepa-linha, nette). Empty = default theme. |
| count | number | 1 | Number of instances (Adminer is stateless, so this can be >1 if you give each a distinct port/node). |
| constraints | list | [] | Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true". |
| resources | object | {
cpu = 200
memory = 128
} | The task resources. |
No variables match.
Adminer — a full-featured database management tool in a single
PHP file. Manage PostgreSQL, MySQL/MariaDB, SQLite, and more from a web UI. A handy
companion to the postgres and mariadb packs. Stateless — no volume.
nomad-pack registry add nomploy github.com/Nomploy/nomad-packs
nomad-pack run adminer --registry nomploy
In nomploy: create a Compose service, type Nomad Pack, pack adminer, custom registry
github.com/Nomploy/nomad-packs, then Deploy.
Open http://<node-ip>:8083, pick the database system, and enter the server host:port and
credentials.
| Variable | Default | Notes |
|---|---|---|
image |
adminer:latest |
Pin a tag in production. |
port |
8083 |
Web UI host port (off 8080 to dodge clashes). |
default_server |
"" |
Pre-fill the login server, e.g. 127.0.0.1:5432. |
design |
"" |
Adminer theme (e.g. dracula, nette). |
count |
1 |
Stateless, so >1 is fine on distinct ports/nodes. |
resources |
cpu 200 / mem 128 |
Tiny. |
postgres pack at 127.0.0.1:5432 (same node) and mariadb at
:3306.