victordibia commited on
Commit
b8ddd52
·
1 Parent(s): b202876

Deploy 2026-01-28 11:01:37

Browse files
Files changed (1) hide show
  1. 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 defaults (secrets must be provided via HF Space Settings or .env)
57
- # These enable auth by default - actual credentials come from environment
58
- ENV AUTH_ENABLED=true
59
- ENV AUTH_MODE=github
 
 
 
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}