Skip to content

Commit 3600b4c

Browse files
committed
build: 修改docker服务启动配置
- 修改 nginx 服务的 autorestart 为 false - 设置 nginx服务的 startretries 为0 - 设置 mcp-server服务的 startretries 为0
1 parent d01330c commit 3600b4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/supervisord.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ pidfile=/var/run/supervisord.pid
77
[program:nginx]
88
command=nginx -g "daemon off;"
99
autostart=true
10-
autorestart=true
10+
autorestart=false
11+
startretries=0
1112
stderr_logfile=/var/log/supervisor/nginx.err.log
1213
stdout_logfile=/var/log/supervisor/nginx.out.log
1314
priority=100
@@ -17,6 +18,7 @@ command=pnpm start --port=3000
1718
directory=/app/mcp-server
1819
autostart=true
1920
autorestart=false
21+
startretries=0
2022
stderr_logfile=/dev/stderr
2123
stderr_logfile_maxbytes=0
2224
stdout_logfile=/dev/stdout

0 commit comments

Comments
 (0)