improve registration flows
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 5s

This commit is contained in:
2026-08-04 01:11:20 +05:00
parent 9d8b5cd26f
commit c1f661cdb6
14 changed files with 485 additions and 21 deletions
+8
View File
@@ -201,6 +201,14 @@ STATICFILES_DIRS = [
MEDIA_URL = "/media/"
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
# Uploaded ID/passport photos live in a dedicated directory so it can be
# bind-mounted as a persistent volume in production. Override with the
# IDCARD_STORAGE_ROOT / IDCARD_STORAGE_URL env vars to point at the mount.
IDCARD_STORAGE_ROOT = os.environ.get(
"IDCARD_STORAGE_ROOT", os.path.join(BASE_DIR, "storage", "idcards")
)
IDCARD_STORAGE_URL = os.environ.get("IDCARD_STORAGE_URL", "/storage/idcards/")
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
# Default primary key field type
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field