Ротация логов Traefik
This commit is contained in:
6
docker/logrotate/Dockerfile
Normal file
6
docker/logrotate/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user