Created
July 19, 2018 21:51
-
-
Save toolness/9be652d071529a557e616146792f028b to your computer and use it in GitHub Desktop.
Docker compose configuration for docassemble.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
app: | |
image: jhpyle/docassemble | |
# https://docassemble.org/docs/docker.html#tocAnchor-1-10-3 | |
volumes: | |
- ./backup:/usr/share/docassemble/backup | |
ports: | |
- 80:80 | |
stop_grace_period: 1m | |
# https://docassemble.org/docs/docker.html#configuration%20options | |
environment: | |
- CONTAINERROLE=all | |
- DBPREFIX=postgresql+psycopg2:// | |
- DBNAME=docassemble | |
- DBUSER=docassemble | |
- DBPASSWORD=abc123 | |
- DBHOST=localhost | |
- USEHTTPS=false | |
- DAHOSTNAME=docassemble.example.com | |
- USELETSENCRYPT=false | |
- LETSENCRYPTEMAIL= | |
- S3ENABLE=false | |
- S3ACCESSKEY= | |
- S3SECRETACCESSKEY= | |
- S3BUCKET= | |
- S3REGION= | |
- EC2=false | |
- TIMEZONE=America/New_York |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a simple Docker Compose configuration for docassemble. Most details were taken from the docassemble Docker documentation.