asemxin commited on
Commit
72c31e0
·
1 Parent(s): df40561

Remove hardcoded admin123, use MANAGEMENT_PASSWORD env only

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -42,11 +42,10 @@ 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: 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 && \
 
42
 
43
  RUN echo 'host: "0.0.0.0"' > /CLIProxyAPI/config.yaml && \
44
  echo 'port: 7860' >> /CLIProxyAPI/config.yaml && \
45
+ echo 'debug: false' >> /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 ' disable-control-panel: false' >> /CLIProxyAPI/config.yaml && \
50
  echo ' panel-github-repository: "https://github.com/router-for-me/Cli-Proxy-API-Management-Center"' >> /CLIProxyAPI/config.yaml && \
51
  echo 'api-keys:' >> /CLIProxyAPI/config.yaml && \