diff options
author | Jakub Warmuz <jakub@warmuz.org> | 2015-05-05 11:26:23 +0300 |
---|---|---|
committer | Jakub Warmuz <jakub@warmuz.org> | 2015-05-05 11:26:23 +0300 |
commit | 64a00d37bb6653f885b0b68d7c9bce9f0a3e4fef (patch) | |
tree | 74c737f90b5b366cd9775ec247fa6b564beb80ce /docker-compose.yml | |
parent | 3a0db7efa13fad1793bfdfb04a940d0c8d84f610 (diff) |
Update docker setup.
Changes:
- uses debian:jessie as base image (more lightweight)
- .dockerignore .git/.tox to speed up build process considerably
- more caching-aware Dockerfile
- copy current directory instead of git cloning the repo inside the container
- /etc/letsencrypt and /var/lib/letsencrypt volumes;
no need for "if os.environ.get" hack
bootstrap script for debian had to be adjusted, as lsb_release is not
present in debian:jessie image.
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 8cac124c9..7e291eef2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,4 +3,5 @@ letsencrypt: ports: - "443:443" volumes: - - ./certs/:/etc/letsencrypt/certs/ + - /etc/letsencrypt:/etc/letsencrypt/certs + - /var/lib/letsenecrypt:/var/lib/letsenecrypt |