crafty-controller: initial_credentials block — surface auto-generated admin password on app page
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-06-26 — crafty-controller: surface the auto-generated initial admin password on the app page
|
||||
- **crafty-controller**: Crafty writes a random admin password to `/crafty/app/config/default-creds.txt`
|
||||
at first boot (its built-in default is rejected as "too short"). Customers had to read the container
|
||||
logs to find it. Added an `initial_credentials` block (new general felhom-controller v0.84.0 mechanism):
|
||||
`file` + `format: json` + `username_key`/`password_key` + a `note`. The controller reads the file live
|
||||
from the container and shows username + password (masked, reveal/copy) on the app's page under "Kezdeti
|
||||
belépési adatok". Requires felhom-controller ≥ v0.84.0.
|
||||
- Updated `first_steps` to point at the app page for the initial login instead of "find it in the logs".
|
||||
|
||||
## 2026-06-26 — crafty-controller: Traefik https backend + scoped skip-verify (fixes 502)
|
||||
- **crafty-controller**: the healthcheck fix un-withheld the Traefik route, exposing a pre-existing
|
||||
**502** — Traefik proxied `http://…:8443` to Crafty's **HTTPS-only** self-signed backend (Crafty serves
|
||||
|
||||
@@ -46,7 +46,7 @@ app_info:
|
||||
|
||||
first_steps:
|
||||
- 'Nyisd meg a minecraft.DOMAIN címet a böngészőben'
|
||||
- 'Az alapértelmezett belépési adatokat a naplóban találod'
|
||||
- 'A kezdeti belépési adatokat ezen az oldalon (Kezdeti belépési adatok) találod'
|
||||
- 'Hozz létre egy új Minecraft szervert a varázslóval'
|
||||
- 'Állítsd be a szerver beállításokat (játékmód, nehézség, stb.)'
|
||||
- 'Csatlakozz a szerveredhez a Minecraft kliensből'
|
||||
@@ -60,3 +60,14 @@ healthcheck:
|
||||
checks:
|
||||
- type: tcp
|
||||
port: 8443
|
||||
|
||||
# --- Initial auto-generated login ---
|
||||
# Crafty writes a random admin password to this file on first boot (its built-in default is rejected
|
||||
# as "too short"). The controller reads + parses it live and shows it on the app page so customers
|
||||
# don't have to dig through the container logs.
|
||||
initial_credentials:
|
||||
file: /crafty/app/config/default-creds.txt
|
||||
format: json
|
||||
username_key: username
|
||||
password_key: password
|
||||
note: "Kezdeti, automatikusan generált jelszó. Az első belépés után változtasd meg a Crafty felületén (ez a fájl a régi jelszót mutatja, nem itt módosítható)."
|
||||
|
||||
Reference in New Issue
Block a user