Spaces:
Running
Running
asemxin
commited on
Commit
·
67b2006
1
Parent(s):
96928b2
Enable remote management control panel
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -38,6 +38,10 @@ RUN echo 'host: "0.0.0.0"' > /CLIProxyAPI/config.yaml && \
|
|
| 38 |
echo 'port: 7860' >> /CLIProxyAPI/config.yaml && \
|
| 39 |
echo 'debug: false' >> /CLIProxyAPI/config.yaml && \
|
| 40 |
echo 'auth-dir: "/home/user/.cli-proxy-api"' >> /CLIProxyAPI/config.yaml && \
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
echo 'api-keys:' >> /CLIProxyAPI/config.yaml && \
|
| 42 |
echo ' - "default-key"' >> /CLIProxyAPI/config.yaml && \
|
| 43 |
chown user:user /CLIProxyAPI/config.yaml
|
|
|
|
| 38 |
echo 'port: 7860' >> /CLIProxyAPI/config.yaml && \
|
| 39 |
echo 'debug: false' >> /CLIProxyAPI/config.yaml && \
|
| 40 |
echo 'auth-dir: "/home/user/.cli-proxy-api"' >> /CLIProxyAPI/config.yaml && \
|
| 41 |
+
echo 'remote-management:' >> /CLIProxyAPI/config.yaml && \
|
| 42 |
+
echo ' allow-remote: true' >> /CLIProxyAPI/config.yaml && \
|
| 43 |
+
echo ' secret-key: "admin123"' >> /CLIProxyAPI/config.yaml && \
|
| 44 |
+
echo ' disable-control-panel: false' >> /CLIProxyAPI/config.yaml && \
|
| 45 |
echo 'api-keys:' >> /CLIProxyAPI/config.yaml && \
|
| 46 |
echo ' - "default-key"' >> /CLIProxyAPI/config.yaml && \
|
| 47 |
chown user:user /CLIProxyAPI/config.yaml
|