Make admin_password optional so worker can start without it
Build and push images / build-backend (push) Successful in 4s
Build and push images / build-worker (push) Successful in 4s
Build and push images / build-frontend (push) Successful in 5s

This commit is contained in:
2026-06-06 15:09:27 +01:00
parent bfb3daba05
commit 29c39c3bbb
+3 -2
View File
@@ -15,9 +15,10 @@ class Settings(BaseSettings):
algorithm: str = "HS256" algorithm: str = "HS256"
access_token_expire_minutes: int = 60 * 24 * 7 # 7 days access_token_expire_minutes: int = 60 * 24 * 7 # 7 days
# Admin account # Admin account - optional so the worker (which doesn't seed users) can start
# without it. The backend service checks this at seed time.
admin_username: str = Field("admin", env="ADMIN_USERNAME") admin_username: str = Field("admin", env="ADMIN_USERNAME")
admin_password: str = Field(..., env="ADMIN_PASSWORD") admin_password: Optional[str] = Field(None, env="ADMIN_PASSWORD")
# PocketID OIDC (optional) # PocketID OIDC (optional)
pocketid_issuer: Optional[str] = Field(None, env="POCKETID_ISSUER") pocketid_issuer: Optional[str] = Field(None, env="POCKETID_ISSUER")