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 07:59] – peter | docker:nginx [2025/07/21 09:53] (current) – peter | ||
---|---|---|---|
Line 2: | Line 2: | ||
- | [[Docker: | + | [[Docker: |
- | ---- | + | [[Docker: |
- | ===== Docker Compose - lscr.io ===== | ||
- | |||
- | <code yaml> | ||
- | --- | ||
- | services: | ||
- | nginx: | ||
- | image: lscr.io/ | ||
- | container_name: | ||
- | environment: | ||
- | - PUID=1000 | ||
- | - PGID=1000 | ||
- | - TZ=Etc/UTC | ||
- | - NGINX_AUTORELOAD= #optional | ||
- | - NGINX_AUTORELOAD_WATCHLIST= #optional | ||
- | volumes: | ||
- | - / | ||
- | ports: | ||
- | - 80:80 | ||
- | - 443:443 | ||
- | restart: unless-stopped | ||
- | </ | ||
- | | ||
---- | ---- | ||
docker/nginx.1753084780.txt.gz · Last modified: 2025/07/21 07:59 by peter