fix(docker): let Dokku supply the index credential #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/dokku-build-credential"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The first deploy of superclean-kernel failed at image build. The Dockerfile read the Forgejo index token only from a BuildKit secret; CI mounts one, dokku git:sync cannot. Result was a missing /run/secrets/forgejo_token and then a 401 from the package index — and the fallback re-ran the identical failing command.
Now the mounted secret wins when present, with a build arg as fallback. That is the pattern superclean-api already uses on lumeria.
Also raises HEALTHCHECK start-period 30s to 120s per the standing convention for Python backends: the entrypoint runs alembic before uvicorn binds.
No database was touched by the failed deploy — superclean_prod_db still has its 31 tables and none of the kernel's nine.