User Tools

Site Tools


docker:nginx

This is an old revision of the document!


Docker - Nginx

Docker Compose - lscr.io

---
services:
  nginx:
    image: lscr.io/linuxserver/nginx:latest
    container_name: nginx
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - NGINX_AUTORELOAD= #optional
      - NGINX_AUTORELOAD_WATCHLIST= #optional
    volumes:
      - /path/to/nginx/config:/config
    ports:
      - 80:80
      - 443:443
    restart: unless-stopped

References

docker/nginx.1753084794.txt.gz · Last modified: 2025/07/21 07:59 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki