nginx-certbot/docker-compose.yml

13 lines
225 B
YAML

letsencrypt:
build: .
container_name: letsencrypt
expose:
- 80
net: frontend
volumes:
- /certs:/certs
restart: always
environment:
- DOMAINS=domain1.com domain2.com
- EMAIL=webmaster@domain1.com