Spaces:
Paused
Paused
Commit
·
b42160b
1
Parent(s):
0ee9c24
输出debug日志
Browse files- Dockerfile +2 -2
- config.yaml +1 -1
Dockerfile
CHANGED
|
@@ -6,13 +6,13 @@ COPY config.yaml /data/config.yaml
|
|
| 6 |
COPY auths /data/auths
|
| 7 |
COPY logs /CLIProxyAPI/logs
|
| 8 |
COPY conv /CLIProxyAPI/conv
|
| 9 |
-
COPY static /
|
| 10 |
#修改权限
|
| 11 |
RUN chmod 777 /data/config.yaml
|
| 12 |
RUN chmod 777 /data/auths
|
| 13 |
RUN chmod 777 /CLIProxyAPI/logs
|
| 14 |
RUN chmod 777 /CLIProxyAPI/conv
|
| 15 |
-
|
| 16 |
# 声明容器会监听的端口。
|
| 17 |
# 这些端口对应于 docker run 命令中的 -p 参数的容器侧端口。
|
| 18 |
EXPOSE 8317
|
|
|
|
| 6 |
COPY auths /data/auths
|
| 7 |
COPY logs /CLIProxyAPI/logs
|
| 8 |
COPY conv /CLIProxyAPI/conv
|
| 9 |
+
COPY static /CLIProxyAPI/static
|
| 10 |
#修改权限
|
| 11 |
RUN chmod 777 /data/config.yaml
|
| 12 |
RUN chmod 777 /data/auths
|
| 13 |
RUN chmod 777 /CLIProxyAPI/logs
|
| 14 |
RUN chmod 777 /CLIProxyAPI/conv
|
| 15 |
+
RUN chmod 777 /CLIProxyAPI/static
|
| 16 |
# 声明容器会监听的端口。
|
| 17 |
# 这些端口对应于 docker run 命令中的 -p 参数的容器侧端口。
|
| 18 |
EXPOSE 8317
|
config.yaml
CHANGED
|
@@ -21,7 +21,7 @@ auth-dir: "/data/auths"
|
|
| 21 |
api-keys:
|
| 22 |
- "EFGH-5678"
|
| 23 |
# Enable debug logging
|
| 24 |
-
debug:
|
| 25 |
# When true, write application logs to rotating files instead of stdout
|
| 26 |
logging-to-file: false
|
| 27 |
# When false, disable in-memory usage statistics aggregation
|
|
|
|
| 21 |
api-keys:
|
| 22 |
- "EFGH-5678"
|
| 23 |
# Enable debug logging
|
| 24 |
+
debug: true
|
| 25 |
# When true, write application logs to rotating files instead of stdout
|
| 26 |
logging-to-file: false
|
| 27 |
# When false, disable in-memory usage statistics aggregation
|