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 07:59] peterdocker:nginx [2025/07/21 09:53] (current) peter
Line 2: Line 2:
  
  
-[[Docker:Nginx|Nginx]]+[[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.1753084780.txt.gz · Last modified: 2025/07/21 07:59 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki