Rename nginx-proxy-manager_notes to nginx-proxy-manager, add docker run equivalent and log volume

Adds a docker run command equivalent to the compose file, splits container
logs out to a separate LOG_PATH volume (they shouldn't be backed up with
the rest of the data), and cleans up README wording.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
code
2026-08-22 14:19:59 +00:00
co-authored by Claude Sonnet 5
parent 688ad2b464
commit 310d5e8456
4 changed files with 74 additions and 41 deletions
+22
View File
@@ -0,0 +1,22 @@
services:
proxy:
image: ${PROXY_IMAGE:-jc21/nginx-proxy-manager:2.15.0}
restart: unless-stopped
environment:
X_FRAME_OPTIONS: "sameorigin"
DB_SQLITE_FILE: "/data/database.sqlite"
ports:
- "80:80"
- "81:81"
- "443:443"
volumes:
- "${VOL_PATH:-/data}/nginx-proxy-manager/data:/data"
- "${VOL_PATH:-/data}/nginx-proxy-manager/letsencrypt:/etc/letsencrypt"
- "${LOG_PATH:-/var/log/containers/nginx-proxy-manager}:/data/logs"
networks:
- proxy
networks:
proxy:
name: proxy
driver: bridge