docker:nginx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker:nginx [2025/07/21 08:04] – peter | docker:nginx [2025/07/21 09:53] (current) – peter | ||
---|---|---|---|
Line 4: | Line 4: | ||
[[Docker: | [[Docker: | ||
- | ---- | + | [[Docker:Nginx:Virtual Host|Virtual Host]] |
- | + | ||
- | ===== Docker | + | |
- | + | ||
- | <code yaml> | + | |
- | --- | + | |
- | services: | + | |
- | nginx: | + | |
- | image: lscr.io/ | + | |
- | container_name: | + | |
- | environment: | + | |
- | - PUID=1000 | + | |
- | - PGID=1000 | + | |
- | - TZ=Etc/ | + | |
- | - NGINX_AUTORELOAD= #optional | + | |
- | - NGINX_AUTORELOAD_WATCHLIST= #optional | + | |
- | volumes: | + | |
- | - / | + | |
- | ports: | + | |
- | - 80:80 | + | |
- | - 443:443 | + | |
- | restart: unless-stopped | + | |
- | </ | + | |
---- | ---- |
docker/nginx.1753085092.txt.gz · Last modified: 2025/07/21 08:04 by peter