version: "3" services: app: image: jc21/nginx-proxy-manager:2.9.22 restart: unless-stopped ports: - 80:80 # Public HTTP Port - 443:443 # Public HTTPS Port - 81:81 # Admin Web Port volumes: - ./data:/data - ./letsencrypt:/etc/letsencrypt - ./default.conf:/etc/nginx/conf.d/default.conf # hack to avoid sed on default.conf - /dev/null:/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.sh environment: - AWS_CONFIG_FILE=/etc/letsencrypt/credentials/credentials-6