Skip to content

Instantly share code, notes, and snippets.

@toolness
Created July 19, 2018 21:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toolness/9be652d071529a557e616146792f028b to your computer and use it in GitHub Desktop.
Save toolness/9be652d071529a557e616146792f028b to your computer and use it in GitHub Desktop.
Docker compose configuration for docassemble.
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
@toolness
Copy link
Author

This is a simple Docker Compose configuration for docassemble. Most details were taken from the docassemble Docker documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment