Spaces:
Running
Running
asemxin
commited on
Commit
·
df40561
1
Parent(s):
cc50d8e
Add panel-github-repository config and enable debug mode
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -42,12 +42,13 @@ RUN mkdir -p /home/user/.cli-proxy-api && chown -R user:user /home/user/.cli-pro
|
|
| 42 |
|
| 43 |
RUN echo 'host: "0.0.0.0"' > /CLIProxyAPI/config.yaml && \
|
| 44 |
echo 'port: 7860' >> /CLIProxyAPI/config.yaml && \
|
| 45 |
-
echo 'debug:
|
| 46 |
echo 'auth-dir: "/home/user/.cli-proxy-api"' >> /CLIProxyAPI/config.yaml && \
|
| 47 |
echo 'remote-management:' >> /CLIProxyAPI/config.yaml && \
|
| 48 |
echo ' allow-remote: true' >> /CLIProxyAPI/config.yaml && \
|
| 49 |
echo ' secret-key: "admin123"' >> /CLIProxyAPI/config.yaml && \
|
| 50 |
echo ' disable-control-panel: false' >> /CLIProxyAPI/config.yaml && \
|
|
|
|
| 51 |
echo 'api-keys:' >> /CLIProxyAPI/config.yaml && \
|
| 52 |
echo ' - "default-key"' >> /CLIProxyAPI/config.yaml && \
|
| 53 |
chown user:user /CLIProxyAPI/config.yaml
|
|
|
|
| 42 |
|
| 43 |
RUN echo 'host: "0.0.0.0"' > /CLIProxyAPI/config.yaml && \
|
| 44 |
echo 'port: 7860' >> /CLIProxyAPI/config.yaml && \
|
| 45 |
+
echo 'debug: true' >> /CLIProxyAPI/config.yaml && \
|
| 46 |
echo 'auth-dir: "/home/user/.cli-proxy-api"' >> /CLIProxyAPI/config.yaml && \
|
| 47 |
echo 'remote-management:' >> /CLIProxyAPI/config.yaml && \
|
| 48 |
echo ' allow-remote: true' >> /CLIProxyAPI/config.yaml && \
|
| 49 |
echo ' secret-key: "admin123"' >> /CLIProxyAPI/config.yaml && \
|
| 50 |
echo ' disable-control-panel: false' >> /CLIProxyAPI/config.yaml && \
|
| 51 |
+
echo ' panel-github-repository: "https://github.com/router-for-me/Cli-Proxy-API-Management-Center"' >> /CLIProxyAPI/config.yaml && \
|
| 52 |
echo 'api-keys:' >> /CLIProxyAPI/config.yaml && \
|
| 53 |
echo ' - "default-key"' >> /CLIProxyAPI/config.yaml && \
|
| 54 |
chown user:user /CLIProxyAPI/config.yaml
|