Prefix web UI deployment variables with CWUI
This commit is contained in:
1 parent
097e4bb35c
commit
a66b48545b
3 files changed
+31
-31
No files matched your search
@@ -5,7 +5,7 @@ It reads and writes the plugin's records table directly and keeps its own tables
|
||||
|
||||
## Requirements
|
||||
- MySQL or MariaDB with a `utf8mb4` database holding the plugin's `<prefix>records` table. The application never creates or alters it.
|
||||
- A dedicated database user with the least-privilege grants listed in the [source README](https://git.bjphoster.com/source/coredns-web-ui#mysql-grants). `DB_TABLE_PREFIX` must match the plugin's `table_prefix`.
|
||||
- A dedicated database user with the least-privilege grants listed in the [source README](https://git.bjphoster.com/source/coredns-web-ui#mysql-grants). `CWUI_DB_TABLE_PREFIX` must match the plugin's `table_prefix`.
|
||||
|
||||
## Usage
|
||||
```sh
|
||||
@@ -14,7 +14,7 @@ cp env.example .env
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
`TRUSTED_PROXIES` must cover the Træfik network, otherwise sessions and audit rows record Træfik's address as the client origin.
|
||||
`CWUI_TRUSTED_PROXIES` must cover the Træfik network, otherwise sessions and audit rows record Træfik's address as the client origin.
|
||||
|
||||
Create the first admin from the running container, then manage the other users from the web UI:
|
||||
```sh
|
||||
@@ -27,7 +27,7 @@ docker compose exec coredns-web-ui /app help
|
||||
```
|
||||
|
||||
## Update
|
||||
Set `COREDNS_WEBUI_VERSION` in `.env`, then:
|
||||
Set `CWUI_VERSION` in `.env`, then:
|
||||
```sh
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
|
||||
Reference in new issue
Block a user