Spaces:
Sleeping
Sleeping
Commit ·
b8ddd52
1
Parent(s): b202876
Deploy 2026-01-28 11:01:37
Browse files- Dockerfile +7 -4
Dockerfile
CHANGED
|
@@ -53,10 +53,13 @@ ENV PORT=7860
|
|
| 53 |
ENV FLOW_DATA_DIR=/app/data
|
| 54 |
ENV UVICORN_WORKERS=2
|
| 55 |
|
| 56 |
-
# Auth
|
| 57 |
-
#
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
# Expose the port
|
| 62 |
EXPOSE ${PORT}
|
|
|
|
| 53 |
ENV FLOW_DATA_DIR=/app/data
|
| 54 |
ENV UVICORN_WORKERS=2
|
| 55 |
|
| 56 |
+
# Auth is disabled by default - enable via HF Space Secrets or .env:
|
| 57 |
+
# AUTH_ENABLED=true
|
| 58 |
+
# AUTH_MODE=github (or basic)
|
| 59 |
+
# AUTH_SECRET=<random-string>
|
| 60 |
+
# AUTH_GITHUB_CLIENT_ID=<your-client-id>
|
| 61 |
+
# AUTH_GITHUB_CLIENT_SECRET=<your-secret>
|
| 62 |
+
# AUTH_GITHUB_ALLOWED_USERS=user1,user2
|
| 63 |
|
| 64 |
# Expose the port
|
| 65 |
EXPOSE ${PORT}
|