nginx-certbot/docker-compose.yml

17 lines
322 B
YAML
Raw Normal View History

2016-09-21 02:50:27 +00:00
version: '2'
services:
2017-01-01 20:58:42 +00:00
# Example docker-compose service
2016-09-21 02:50:27 +00:00
certbot:
build: .
container_name: certbot
volumes:
- ./certs:/certs
restart: always
environment:
2016-09-21 23:35:19 +00:00
- WEBROOT=""
2016-09-21 02:50:27 +00:00
- DOMAINS=domain1.com domain2.com
- EMAIL=webmaster@domain1.com
2017-01-01 20:58:42 +00:00
- CONCAT=false
- SEPARATE=true