You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scaffold compose: POSTGRES_PASSWORD is inserted unencoded into SM_DATABASE_URL #472
The password smpy new generates is token_urlsafe, so it is safe. But make docker-up tells users who copied .env.example to set POSTGRES_PASSWORD themselves. A password that contains @, :, /, #, ? or % produces a malformed URL. The app then fails to connect, with a confusing host or port parse error.
Options
Document in .env.example and the docs that the password must be URL-safe, or percent-encoded in a separate variable; or
have the app accept separate SM_DATABASE_* parts (or a password override) and assemble the URL with sqlalchemy.engine.URL.create, which escapes the password; or
have smpy/make docker-up reject a non-URL-safe POSTGRES_PASSWORD with a clear message.
Activity
fix(cli): require a URL-safe POSTGRES_PASSWORD for the compose stack (#…
docs(changelog): #467-#472 fixes
refactor(cli): move the POSTGRES_PASSWORD placeholder into _local_env
fix: S3 streaming + Range, task heartbeat + after-commit enqueue, tok…