Revert gokapi headless-env change: Gokapi (v1.9.6/v2.0.1) has no GOKAPI_USERNAME/PASSWORD env
Verified against Gokapi docs + the v1.9.6 binary: no env-var headless admin setup exists in any version. Non-interactive setup requires a pre-seeded config.json + --deployment-password. Reverting the non-functional env so the template isn't misleading; choosing a real fix path with the user.
This commit is contained in:
@@ -32,13 +32,6 @@ deploy_fields:
|
||||
locked_after_deploy: true
|
||||
description: "Az alkalmazás aldomainje"
|
||||
|
||||
- env_var: GOKAPI_PASSWORD
|
||||
label: "Admin jelszó"
|
||||
type: password
|
||||
generate: "password:24"
|
||||
locked_after_deploy: true
|
||||
description: "A Gokapi admin felhasználó (admin) jelszava — ezzel tudsz belépni a kezelőfelületre"
|
||||
|
||||
# --- App info (info page content) ---
|
||||
app_info:
|
||||
tagline: "Ideiglenes fájlmegosztás lejáró linkekkel"
|
||||
|
||||
@@ -13,11 +13,6 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Europe/Budapest
|
||||
# Headless first-run setup: GOKAPI_USERNAME/PASSWORD take effect only on the first start (when
|
||||
# Gokapi creates its config). Without these, Gokapi sits in "maintenance mode" until /setup is
|
||||
# completed by hand. Password is felhom-generated (see .felhom.yml deploy field).
|
||||
- GOKAPI_USERNAME=admin
|
||||
- GOKAPI_PASSWORD=${GOKAPI_PASSWORD}
|
||||
volumes:
|
||||
- gokapi_data:/app/data
|
||||
- gokapi_config:/app/config
|
||||
|
||||
Reference in New Issue
Block a user