1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00

sharng docker-compose.yml to add two separate container specifications:

one for development (that mounts the host git root to
/opt/letsencrypt/src) and one for production (that doesn't).
This commit is contained in:
William Budington
2015-05-19 16:53:31 -07:00
parent 6a7e3438a9
commit e4e4c69f36

View File

@@ -1,7 +1,13 @@
letsencrypt:
production:
build: .
ports:
- "443:443"
# For development, mount git root to /opt/letsencrypt/src in order to
# make the dev workflow more vagrant-like.
development:
build: .
ports:
- "443:443"
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /var/lib/letsencrypt:/var/lib/letsencrypt
- .:/opt/letsencrypt/src