You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
androiddrew 08d97f9e4e | 6 years ago | |
---|---|---|
.. | ||
blog | 6 years ago | |
cms | 6 years ago | |
home | 6 years ago | |
search | 6 years ago | |
.dockerignore | 6 years ago | |
.gitignore | 6 years ago | |
Dockerfile | 6 years ago | |
README.md | 6 years ago | |
entrypoint.sh | 6 years ago | |
manage.py | 6 years ago | |
requirements.txt | 6 years ago |
README.md
Datasketch CMS
This service is built using the Wagtail framework.
Environmental Variables
The follow environment variables must be set for development. Note that the DB_PASSWD for production must be a docker secret.
DB_HOST=<hostname for database>
DB_PASSWD=<Password for datasketch user>
In production you must set the DJANGO_SETTINGS_MODULE
to the appropriate module:
DJANGO_SETTINGS_MODULE=cms.settings.production
Migrations and collectstatic
Migrations and the collection of static content is managed through the entrypoint.sh
script. On start up the cms container will check for the availability of the Postgres server, then run the migration and static file collection processes. The static files in production will be written to a persistent location on a NAS device. An Nginx service will mount that same static location and serve content.