docker-compose.yml 730 B

123456789101112131415161718192021222324252627
  1. version: '3'
  2. services:
  3. app:
  4. image: 'jc21/nginx-proxy-manager:latest'
  5. restart: unless-stopped
  6. ports:
  7. # These ports are in format <host-port>:<container-port>
  8. - '180:80' # Public HTTP Port
  9. - '1443:443' # Public HTTPS Port
  10. - '181:81' # Admin Web Port
  11. # Add any other Stream port you want to expose
  12. # - '21:21' # FTP
  13. environment:
  14. TZ: "Europe/Madrid"
  15. # Uncomment this if you want to change the location of
  16. # the SQLite DB file within the container
  17. # DB_SQLITE_FILE: "/data/database.sqlite"
  18. # Uncomment this if IPv6 is not enabled on your host
  19. # DISABLE_IPV6: 'true'
  20. volumes:
  21. - ./data:/data
  22. - ./letsencrypt:/etc/letsencrypt