SCys / nginx

nginx with logrotate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Container

Docker Pulls

Image size: Docker Image Size (tag)

nginx with logrotate and build every day.

i don't not known why the default nginx in docker.io without logrotate.

docker-compose.yml add blew:

nginx:
  image: scys/nginx
  container_name: nginx
  restart: unless-stopped
  network_mode: host
  volumes:
    - /data/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
    - /data/nginx/log:/var/log/nginx

Dockerfile base on https://github.com/macbre/docker-nginx-http3

About

nginx with logrotate


Languages

Language:Dockerfile 100.0%