Skip to content

Instantly share code, notes, and snippets.

@rbleattler
Last active February 24, 2022 02:11
Show Gist options
  • Save rbleattler/bbc3c1f1066ba851c6594436e040c20f to your computer and use it in GitHub Desktop.
Save rbleattler/bbc3c1f1066ba851c6594436e040c20f to your computer and use it in GitHub Desktop.
Docker Compose for nginx proxy manager
version: "3"
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
# These ports are in format <host-port>:<container-port>
- '80:80' # Public HTTP Port
- '443:443' # Public HTTPS Port
- '81:81' # Admin Web Port
# Add any other Stream port you want to expose
# - '21:21' # FTP
# Uncomment the next line if you uncomment anything in the section
environment:
# Uncomment this if you want to change the location of
# the SQLite DB file within the container
DB_SQLITE_FILE: "/data/database.sqlite"
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment