insight/credentials.py:8 defaults to:
/var/lib/shipyard/insight_credentials.json
…but the README and Dockerfile both reference /var/lib/insight/insight_credentials.json (and the Dockerfile mounts state at that location).
When a standalone Docker run uses the documented mount path without explicitly setting INSIGHT_CREDENTIALS_FILE, the app writes the credentials inside the container's writable layer (or under a nonexistent host dir, depending on how the mount is set up) and on the next start read() finds nothing. Worse, credentials.py:21 swallows the FileNotFoundError, so the UI just silently reports "not configured" — there is no signal pointing at the path mismatch.
Fix: change the default in credentials.py to /var/lib/insight/insight_credentials.json to match the docs and the Dockerfile mount.
insight/credentials.py:8defaults to:…but the README and Dockerfile both reference
/var/lib/insight/insight_credentials.json(and the Dockerfile mounts state at that location).When a standalone Docker run uses the documented mount path without explicitly setting
INSIGHT_CREDENTIALS_FILE, the app writes the credentials inside the container's writable layer (or under a nonexistent host dir, depending on how the mount is set up) and on the next startread()finds nothing. Worse,credentials.py:21swallows theFileNotFoundError, so the UI just silently reports "not configured" — there is no signal pointing at the path mismatch.Fix: change the default in
credentials.pyto/var/lib/insight/insight_credentials.jsonto match the docs and the Dockerfile mount.