Spaces:
Paused
Paused
Configure auth-dir and copy oauth credentials
Browse files- Dockerfile +1 -0
- config.yaml +1 -1
Dockerfile
CHANGED
|
@@ -5,4 +5,5 @@ ENV PORT=7860
|
|
| 5 |
EXPOSE 7860
|
| 6 |
|
| 7 |
COPY config.yaml /CLIProxyAPI/config.yaml
|
|
|
|
| 8 |
|
|
|
|
| 5 |
EXPOSE 7860
|
| 6 |
|
| 7 |
COPY config.yaml /CLIProxyAPI/config.yaml
|
| 8 |
+
COPY gemini/oauth_creds.json /CLIProxyAPI/auth/oauth_creds.json
|
| 9 |
|
config.yaml
CHANGED
|
@@ -7,7 +7,7 @@ remote-management:
|
|
| 7 |
disable-control-panel: false
|
| 8 |
|
| 9 |
# Authentication directory
|
| 10 |
-
auth-dir: "/
|
| 11 |
|
| 12 |
# API keys for authentication (Access Control)
|
| 13 |
api-keys:
|
|
|
|
| 7 |
disable-control-panel: false
|
| 8 |
|
| 9 |
# Authentication directory
|
| 10 |
+
auth-dir: "/CLIProxyAPI/auth"
|
| 11 |
|
| 12 |
# API keys for authentication (Access Control)
|
| 13 |
api-keys:
|