Advertisement
Guest User

docker-compose.yml

a guest
Feb 28th, 2025
103
0
75 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.76 KB | None | 0 0
  1. services:
  2.   app:
  3.     image: 'jc21/nginx-proxy-manager:latest'
  4.     restart: unless-stopped
  5.     ports:
  6.      # These ports are in format <host-port>:<container-port>
  7.       - '80:80' # Public HTTP Port
  8.       - '1443:443' # Public HTTPS Port
  9.       - '81:81' # Admin Web Port
  10.       # Add any other Stream port you want to expose
  11.       # - '21:21' # FTP
  12.  
  13.     environment:
  14.      # Uncomment this if you want to change the location of
  15.       # the SQLite DB file within the container
  16.       # DB_SQLITE_FILE: "/data/database.sqlite"
  17.  
  18.       # Uncomment this if IPv6 is not enabled on your host
  19.        DISABLE_IPV6: 'true'
  20.     network_mode: host
  21.     volumes:
  22.      - /Users/admin/docker/nginx-pm/data:/data
  23.       - /Users/admin/docker/nginx-pm/letsencrypt:/etc/letsencrypt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement