gokapi: headless first-run setup (GOKAPI_USERNAME=admin + generated GOKAPI_PASSWORD)
Gokapi sat in maintenance mode since deploy because /setup was never completed and the template provided no headless-setup env. GOKAPI_USERNAME/PASSWORD configure it on first start; password is felhom-generated (deploy field, shown to customer). Fixes share.* maintenance page.
This commit is contained in:
@@ -13,6 +13,11 @@ 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