diff --git a/docker-compose.yaml b/docker-compose.yaml index 91564010..7920be1e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,8 +9,8 @@ networks: - subnet: '177.7.0.0/16' # 设置mysql,redis持久化保存 -volumes: - mysql: +#volumes: +# mysql: services: mysql: diff --git a/server/config.docker.yaml b/server/config.docker.yaml index bb04b053..f60872a6 100644 --- a/server/config.docker.yaml +++ b/server/config.docker.yaml @@ -9,9 +9,9 @@ autocode: server-service: /service web: /web/src web-api: /api + web-flow: /view web-form: /view web-table: /view - web-flow: /view captcha: key-long: 6 img-width: 240 diff --git a/server/search/scan.go b/server/search/scan.go index aeb2acb1..c7232e34 100644 --- a/server/search/scan.go +++ b/server/search/scan.go @@ -22,26 +22,31 @@ func ScanTask() { gitlabsearch.RunTask(Interval) } else if err != nil { global.GVA_LOG.Error("CheckTaskStatus for gitlab err", zap.Error(err)) + break } if enable, err := service.CheckTaskStatus("codesearch"); enable { codesearch.RunTask(Interval) } else if err != nil { global.GVA_LOG.Error("CheckTaskStatus for codesearch err", zap.Error(err)) + break } if enable, err := service.CheckTaskStatus("github"); enable { githubsearch.RunTask(Interval) } else if err != nil { global.GVA_LOG.Error("CheckTaskStatus for github err", zap.Error(err)) + break } if enable, err := service.CheckTaskStatus("gobuster"); enable { gobuster.RunTask(Interval) } else if err != nil { global.GVA_LOG.Error("CheckTaskStatus for gobuster err", zap.Error(err)) + break } if enable, err := service.CheckTaskStatus("postman"); enable { postman.RunTask() } else if err != nil { global.GVA_LOG.Error("CheckTaskStatus for postman err", zap.Error(err)) + break } }