version: '3' services: nginx: image: jonasal/nginx-certbot:latest restart: unless-stopped environment: - CERTBOT_EMAIL=pegasucksgg@gmail.com - STAGING=1 - DEBUG=1 ports: - 80:80 - 443:443 volumes: - nginx_secrets:/etc/letsencrypt - ./user_conf.d:/etc/nginx/user_conf.d volumes: nginx_secrets: