Ротация логов Traefik

This commit is contained in:
2026-04-25 13:39:46 +03:00
parent 9275db1598
commit a8c3f1b887
4 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
FROM alpine:latest
RUN apk add --no-cache logrotate dcron tzdata
COPY logrotate.conf /etc/logrotate.conf
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]