Roberto Rosario
55e9b2263c
Celery: Update Celery to version 4.1.1
...
Upgrade Celery version used from 3.1.26 to 4.1.1. The following
settings have been renamed: CELERY_ALWAYS_EAGER to
CELERY_TASK_ALWAYS_EAGER, BROKER_URL to CELERY_BROKER_URL.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-08 22:49:15 -04:00
Hamish Farroq
e2e89efb47
Fix the path to the SECRET_KEY
2018-10-14 04:58:33 +00:00
Roberto Rosario
c67c0e3742
Add support for changing the concurrency of the Celery workers in the Docker image. Add environment variables MAYAN_WORKER_FAST_CONCURRENCY, MAYAN_WORKER_MEDIUM_CONCURRENCY and MAYAN_WORKER_SLOW_CONCURRENCY.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 21:22:57 -04:00
Roberto Rosario
bc5715254e
Make sure the test requirements are installed in the virtualenv.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 04:55:46 -04:00
Roberto Rosario
5d39ec4ed3
Update the Docker install to mirror the new recommended installation process at /opt. Use virtualenv for the Docker install.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 03:34:58 -04:00
Roberto Rosario
acea52400a
Use the MAYAN_SETTINGS_MODULE instead of MAYAN_SETTINGS_FILE for consistency.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-05 02:14:11 -04:00
Roberto Rosario
d6232b4b28
Update the docker image entrypoint Pythonpath to use the top level media root folder.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-03 14:47:55 -04:00
Roberto Rosario
9a5c281a8b
Add support for running tests from a Docker container.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-21 00:39:40 -04:00
Roberto Rosario
b2b8549f8a
Use variables for default values instead of literals.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-10 04:32:57 -04:00
Roberto Rosario
55359c72cf
Unify supervisor configuration files. Lower nice levels of most workers. Merge OCR and slow workers. Lower gunicorn workers to 2. Call all supervisor processes using a shell to expand the install and mayan binary locations and avoid hardcoding.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-04 00:48:03 -04:00
Roberto Rosario
55879d3488
Add default celery settings to docker's entrypoint script.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-30 05:00:02 -04:00
Eric Riggs
3145cb4231
Add django-environ and use it to set ALLOWED_HOSTS.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-26 02:18:32 -04:00
Eric Riggs
f1ed40adba
Merge Docker files back into main repo.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-22 04:14:07 -04:00
Roberto Rosario
378a346e79
Remove Docker and Docker Componse files. These files now live in https://gitlab.com/mayan-edms/mayan-edms-docker .
2016-02-14 21:30:08 -04:00
Roberto Rosario
0a9d0fc69b
Rename entrypoint script.
2015-11-30 02:41:09 -04:00