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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user