version: "3.7" services: certbot: build: . image: route53-wildcard-certbot environment: - AWS_CONFIG_FILE=/opt/certbot/aws_config - CERT_FILES_OUTPUT_PATH=/opt/certbot/output - DOMAIN=mydomain.com - REGULAR_USER_UID=1000 - REGULAR_USER_GID=1000 - CERTBOT_EMAIL=sample@email.com volumes: - ./output:/opt/certbot/output - ./aws_config:/opt/certbot/aws_config # Uncomment the following lines to start the container and keep it running for troubleshooting and manual execution # entrypoint: "" # command: tail -f /dev/null