feat: the bundled database's application gets its own restricted login (NetOrk/netork#2937) #17

Merged
christianmanivong merged 1 commits from feature/restricted-db-role into main 2026-12-02 01:48:43 +00:00
1 Commits
Author SHA1 Message Date
Christian Manivong ec7d113cdb feat: the bundled database's application gets its own restricted login (NetOrk/netork#2937)
CI / check (pull_request) Successful in 22s
remote/db_login.sh runs after .env names the version and before the broker
and the engine: a container of the engine image being deployed
(python -m netork.core.db_role_env) rewrites .env so that the owner's URL
becomes MIGRATION_DATABASE_URL and DATABASE_URL a netork_app login with a
password made on the host; netork-api's db_init creates the role. No bundled
database, an image from before the module, an .env separated already or
RESTRICTED_DB_LOGIN=off: .env stays as it is. Any other failure stops the
deploy before the engine is touched.
2026-12-02 02:35:23 +01:00