User Tools

Site Tools


docker:nginx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker:nginx [2025/07/21 08:04] peterdocker:nginx [2025/07/21 09:53] (current) peter
Line 4: Line 4:
 [[Docker:Nginx:Docker Compose|Docker Compose]] [[Docker:Nginx:Docker Compose|Docker Compose]]
  
----- +[[Docker:Nginx:Virtual Host|Virtual Host]]
- +
-===== Docker Compose - lscr.io ===== +
- +
-<code yaml> +
---- +
-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 +
-</code>+
  
 ---- ----
docker/nginx.1753085092.txt.gz · Last modified: 2025/07/21 08:04 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki