Sign inSign up

paularlott/knot-adminer

By paularlott

•Updated about 13 hours ago

Build of adminer for use in knot.

Image
Developer tools
0

878

paularlott/knot-adminer repository overview

⁠knot-adminer

Adminer⁠ database management on top of knot-frankenphp-runtime⁠ 8.5. It manages MySQL/MariaDB, PostgreSQL and Redis (plus the other bundled Adminer drivers), serves Adminer from a fixed docroot on port 80, and runs FrankenPHP in the foreground so the container works standalone. It keeps the knot toolchain — entrypoint, agent integration, rsyslog logging and startup hooks — but none of the dev-image tooling (no sshd, git, editors, node or composer).

Bundled extras: the official Adminer Redis driver, DNS SRV hostname lookups, a fast client-side table filter, and a dark-capable theme (defaults to dark, toggle next to the logout block).

⁠Tags

All tags are multi-arch (linux/amd64, linux/arm64); see Docker Hub⁠ for the current list. The current release is also tagged latest and <version>-<BUILD_DATE>.

⁠Usage

docker run -d \
  -p 8080:80 \
  -e KNOT_SERVER=https://knot.example.com \
  -e KNOT_USER=alice \
  paularlott/knot-adminer:latest

Open http://localhost:8080, pick a driver (MySQL, PostgreSQL, Redis, …), and connect.

⁠Environment variables

The entrypoint mirrors knot-ubuntu, so it supports the common knot variables:

VariableDefaultDescription
KNOT_USERknotRuntime user (uid 1000); created if missing
KNOT_SERVER(unset)knot server URL; if set, the agent is downloaded and started
KNOT_AGENT_ENDPOINT(unset)Agent endpoint reported to the server
KNOT_SPACEID(unset)Space identifier
KNOT_SERVICE_PASSWORD(auto-generated UUID)Shared service password
KNOT_SSHD(unset)Set to native to start sshd (not installed in this image; use knot-frankenphp if ssh is needed)
KNOT_SSH_PORT2222Port for the SSH daemon
KNOT_SYSLOG_PORT1514Syslog forward target (0 disables forwarding)
TZEtc/UTCTimezone

⁠Exposed ports

PortProtocolPurpose
80TCPHTTP (Adminer via FrankenPHP)
443TCP/UDPHTTPS / HTTP-3 (when enabled)
2019TCPCaddy admin API

⁠Volumes

  • /home — persistent home directory.

⁠License

Adminer is licensed under Apache License 2.0 / GPL 2.0⁠ — see vrana/adminer⁠. The bundled plugins retain their respective licences (linked in each file). This image's packaging is Apache License 2.0⁠.

Source: paularlott/knot-base-images⁠.

Tag summary

Content type

Image

Digest

sha256:87d8f37c2…

Size

276.4 MB

Last updated

about 13 hours ago

docker pull paularlott/knot-adminer