feat(identity): register accounts and resend verification mail

This commit is contained in:
shira committed 2026-10-06 23:59:51 +03:00
1 parent 5e202ac972
commit 4436f626a3
55 files changed
+3227 -88

No files matched your search

+4 -1
View File
@@ -63,7 +63,10 @@ def size_bytes(value):
def render_compose(file_names, project, extra_env=None, profiles=()):
if isinstance(file_names, str):
file_names = [file_names]
environment = dict(os.environ, APP_PROJECT=project, APP_NETWORK=f"{project}_default")
# The example file has no usable IDENTITY_KEY_SECRET, which Compose requires.
environment = dict(
os.environ, APP_PROJECT=project, APP_NETWORK=f"{project}_default", IDENTITY_KEY_SECRET="render-only-identity-key-secret"
)
for name in ("APP_HTTP_BIND", "APP_HTTP_PORT", "ML_BIND_ADDRESS", "APP_SUBNET", "APP_FRONTEND_IP", "TRUSTED_PROXY_CIDRS"):
environment.pop(name, None)
environment.update(extra_env or {})