Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 

logrotate

demyxsh/logrotate Code Size Repository Size Watches Stars Forks Docker Pulls Architecture Alpine Logrotate Buy Me A Coffee Become a Patron!

Non-root Docker image running Alpine Linux and logrotate.

DEMYX LOGROTATE
PORT 3000
USER demyx
WORKDIR /demyx
CONFIG /etc/demyx
ENTRYPOINT demyx-entrypoint
TIMEZONE America/Los_Angeles

NOTICE

This repository has been moved to the organization demyxsh; please update the remote URL.

git remote set-url origin git@github.com:demyxsh/logrotate.git

Usage

logrotate:
    container_name: logrotate
    image: demyx/logrotate
    restart: unless-stopped
    environment:
      DEMYX_INTERVAL
      DEMYX_PATH: /var/log/demyx
      TZ: America/Los_Angeles
    volumes:
      - /logs:/var/log/demyx

logrotate.conf

${DEMYX_PATH}/*.log {
  su root root
  weekly
  missingok
  copytruncate
  rotate 52
  notifempty
  sharedscripts
}

Updates & Support

  • Auto built weekly on Saturdays (America/Los_Angeles)
  • Rolling release updates
  • For support: #demyx

About

Docker image running Alpine Linux and Logrotate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published