I have the following docker-compose setup using Certbot and Nginx
version: "3" services: web: image: nginx:latest user: root