bump coredns-web-ui to 1.1.0, support a separate web UI database
This commit is contained in:
1 parent
a66b48545b
commit
55796bada2
3 files changed
+5
-2
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
# coredns-web-ui Deployment
|
# coredns-web-ui Deployment
|
||||||
Web UI for the zones and records CoreDNS serves through the `mysql` plugin: [source/coredns-web-ui](https://git.bjphoster.com/source/coredns-web-ui).
|
Web UI for the zones and records CoreDNS serves through the `mysql` plugin: [source/coredns-web-ui](https://git.bjphoster.com/source/coredns-web-ui).
|
||||||
|
|
||||||
It reads and writes the plugin's records table directly and keeps its own tables (users, sessions, delegations, audit) in the same database with the `<prefix>webui_` prefix, created by its migrations at startup. It never talks to CoreDNS. It keeps no local state and needs no volume. `/health` is an unauthenticated liveness check; HSTS is left to Træfik.
|
It reads and writes the plugin's records table directly and keeps its own tables (users, sessions, delegations, audit) in `CWUI_DB_WEBUI_NAME` (default `CWUI_DB_NAME`) with the `<prefix>webui_` prefix, created by its migrations at startup. It never talks to CoreDNS. It keeps no local state and needs no volume. `/health` is an unauthenticated liveness check; HSTS is left to Træfik.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
- MySQL or MariaDB with a `utf8mb4` database holding the plugin's `<prefix>records` table. The application never creates or alters it.
|
- MySQL or MariaDB with a `utf8mb4` database holding the plugin's `<prefix>records` table. The application never creates or alters it.
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ services:
|
|||||||
- DB_USER=${CWUI_DB_USER}
|
- DB_USER=${CWUI_DB_USER}
|
||||||
- DB_PASSWORD=${CWUI_DB_PASSWORD}
|
- DB_PASSWORD=${CWUI_DB_PASSWORD}
|
||||||
- DB_NAME=${CWUI_DB_NAME}
|
- DB_NAME=${CWUI_DB_NAME}
|
||||||
|
- DB_WEBUI_NAME=${CWUI_DB_WEBUI_NAME:-${CWUI_DB_NAME}}
|
||||||
- DB_TLS=${CWUI_DB_TLS}
|
- DB_TLS=${CWUI_DB_TLS}
|
||||||
- DB_TABLE_PREFIX=${CWUI_DB_TABLE_PREFIX}
|
- DB_TABLE_PREFIX=${CWUI_DB_TABLE_PREFIX}
|
||||||
- HTTP_ADDR=0.0.0.0
|
- HTTP_ADDR=0.0.0.0
|
||||||
|
|||||||
+3
-1
@@ -10,12 +10,14 @@ TRAEFIK_CERTRESOLVER=letsencrypt
|
|||||||
TRAEFIK_MIDDLEWARES=hsts
|
TRAEFIK_MIDDLEWARES=hsts
|
||||||
|
|
||||||
# coredns-web-ui
|
# coredns-web-ui
|
||||||
CWUI_VERSION=0.0.1-alpha3
|
CWUI_VERSION=1.1.0
|
||||||
CWUI_DB_HOST=mysql.example.com
|
CWUI_DB_HOST=mysql.example.com
|
||||||
CWUI_DB_PORT=3306
|
CWUI_DB_PORT=3306
|
||||||
CWUI_DB_USER=coredns_webui
|
CWUI_DB_USER=coredns_webui
|
||||||
CWUI_DB_PASSWORD=changeme
|
CWUI_DB_PASSWORD=changeme
|
||||||
CWUI_DB_NAME=coredns
|
CWUI_DB_NAME=coredns
|
||||||
|
# Database for the web UI tables, defaults to CWUI_DB_NAME
|
||||||
|
CWUI_DB_WEBUI_NAME=coredns_webui
|
||||||
CWUI_DB_TLS=false
|
CWUI_DB_TLS=false
|
||||||
CWUI_DB_TABLE_PREFIX=coredns_
|
CWUI_DB_TABLE_PREFIX=coredns_
|
||||||
CWUI_LOG_LEVEL=INFO
|
CWUI_LOG_LEVEL=INFO
|
||||||
|
|||||||
Reference in new issue
Block a user