{"id":15703536,"url":"https://github.com/nekmo/docker-logrotate","last_synced_at":"2026-02-12T18:30:48.059Z","repository":{"id":151382242,"uuid":"265247680","full_name":"Nekmo/docker-logrotate","owner":"Nekmo","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-28T21:47:53.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-03T21:49:44.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/Nekmo.png","metadata":{"files":{"readme":"README.rst","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-05-19T12:57:06.000Z","updated_at":"2020-05-28T21:47:56.000Z","dependencies_parsed_at":"2023-05-03T05:30:31.760Z","dependency_job_id":null,"html_url":"https://github.com/Nekmo/docker-logrotate","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"b3b85eb07f0df75021bbeb912dfb440dd86e8588"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nekmo/docker-logrotate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fdocker-logrotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fdocker-logrotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fdocker-logrotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fdocker-logrotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nekmo","download_url":"https://codeload.github.com/Nekmo/docker-logrotate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nekmo%2Fdocker-logrotate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29376807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T18:17:34.915Z","status":"ssl_error","status_checked_at":"2026-02-12T18:17:34.495Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-03T20:02:01.652Z","updated_at":"2026-02-12T18:30:48.043Z","avatar_url":"https://github.com/Nekmo.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\ndocker-logrotate\n================\n\nDocker-compose example:\n\n.. code-block::\n\n    version: '2.4'\n    services:\n\n      nginx:\n        restart: always\n        image: \"nginx\"\n        volumes:\n          - ./conf/nginx/conf.d:/etc/nginx/conf.d:ro\n          - ./conf/nginx/ssl:/etc/nginx/ssl:ro\n          - ./data/nginx/log/:/var/log/nginx/\n        ports:\n          - \"80:80\"\n          - \"443:443\"\n        command: [ 'nginx-debug', '-g', 'daemon off;']\n\n      logrotate:\n        build: https://github.com/Nekmo/docker-logrotate.git\n        volumes:\n          - \"/var/run/docker.sock:/var/run/docker.sock\"\n          - \"/usr/bin/docker:/usr/bin/docker:ro\"\n          - \"./conf/logrotate:/etc/logrotate.d\"\n          - \"./data/nginx/log/:/var/log/nginx/\"\n\nNginx *logrotate* configuration example (put in ``./conf/logrotate/nginx``):\n\n.. code-block::\n\n    /var/log/nginx/*log {\n        daily\n        rotate 30\n        missingok\n        notifempty\n        sharedscripts\n        compress\n        delaycompress\n        postrotate\n            docker kill -s USR1 \u003cnginx container name\u003e \u003e/dev/null 2\u003e\u00261\n        endscript\n    }\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekmo%2Fdocker-logrotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnekmo%2Fdocker-logrotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekmo%2Fdocker-logrotate/lists"}