mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user