{"id":21214307,"url":"https://github.com/goindow/docker-nginx-logrotate","last_synced_at":"2026-04-15T16:03:13.218Z","repository":{"id":143903767,"uuid":"269359614","full_name":"goindow/docker-nginx-logrotate","owner":"goindow","description":"nginx [docker]容器日志切割、打包、压缩包维护 shell","archived":false,"fork":false,"pushed_at":"2022-03-16T05:50:46.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T04:50:31.686Z","etag":null,"topics":["docker","log","nginx","rotate"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goindow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-04T12:56:09.000Z","updated_at":"2021-12-27T09:32:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"e67170dc-6487-403f-aa31-fc4974cdfe35","html_url":"https://github.com/goindow/docker-nginx-logrotate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/goindow/docker-nginx-logrotate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goindow%2Fdocker-nginx-logrotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goindow%2Fdocker-nginx-logrotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goindow%2Fdocker-nginx-logrotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goindow%2Fdocker-nginx-logrotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goindow","download_url":"https://codeload.github.com/goindow/docker-nginx-logrotate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goindow%2Fdocker-nginx-logrotate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273070097,"owners_count":25040213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","log","nginx","rotate"],"created_at":"2024-11-20T21:27:13.181Z","updated_at":"2026-04-15T16:03:08.181Z","avatar_url":"https://github.com/goindow.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker_nginx_logrotate\nnginx[docker] 容器日志切割、打包、压缩包维护 shell\n\n## 特性\n支持多项目，程序会自动识别，最多识别两级目录，每个目录为一个项目，尝试切割打包，比如，a/\n- 单项目 [a/.log]\n- 多项目 [a/b/.log  a/c/.log...] for php-nginx frame\n\n## 用法\n- 路径和 nginx 容器名依据各自服务器情况替换\n```bash\n0 0 * * * /data/php-nginx/sh/docker_nginx_logrotate.sh php-nginx_nginx_1 /data/php-nginx/nginx/logs/ \u0026\u003e /dev/null\n```\n\n## 相关链接\n[独立安装版](https://github.com/goindow/nginx-logrotate)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoindow%2Fdocker-nginx-logrotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoindow%2Fdocker-nginx-logrotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoindow%2Fdocker-nginx-logrotate/lists"}