version: '3.6' services: https_proxy: image: valian/docker-nginx-auto-ssl restart: unless-stopped ports: - 80:80 - 443:443 volumes: - ssl_data:/etc/resty-auto-ssl environment: ALLOWED_DOMAINS: ${DOMAIN} SITES: ${DOMAIN}=10.7.7.1:8080 volumes: ssl_data: name: ssl_data