forked from CMU-17313Q/Mayan-EDMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.env
67 lines (67 loc) · 2.22 KB
/
config.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Binary versions
BINARY_DOCKER_COMPOSE_VERSION=1.29.1
# Default setting values
DEFAULT_DIRECTORY_BASE=/opt/
DEFAULT_DIRECTORY_INSTALLATION=/opt/mayan-edms/
DEFAULT_DIRECTORY_MEDIA_ROOT=/opt/mayan-edms/media/
DEFAULT_DATABASE_NAME=mayan
DEFAULT_DATABASE_PASSWORD=mayanuserpass
DEFAULT_DATABASE_USER=mayan
DEFAULT_OS_GROUP=mayan
DEFAULT_OS_USERNAME=mayan
DEFAULT_RABBITMQ_PASSWORD=mayanrabbitmqpassword
DEFAULT_RABBITMQ_USER=mayan
DEFAULT_RABBITMQ_VHOST=mayan
DEFAULT_REDIS_PASSWORD=mayanredispassword
DEFAULT_SECRET_KEY=secret-key-missing!
DEFAULT_USER_SETTINGS_FOLDER=user_settings
# Docker images
DOCKER_HOST_REGISTRY_NAME=docker-registry.local
DOCKER_HOST_REGISTRY_PORT=5000
DOCKER_IMAGE_MAYAN_NAME=mayanedms/mayanedms
DOCKER_LINUX_IMAGE_VERSION=ubuntu:20.04
DOCKER_MYSQL_IMAGE_VERSION=mysql:8.0
DOCKER_ORACLE_IMAGE_VERSION=wnameless/oracle-xe-11g-r2
DOCKER_POSTGRES_IMAGE_VERSION=postgres:10.15-alpine
DOCKER_PYTHON_IMAGE_VERSION=python:3.8-slim
DOCKER_RABBITMQ_IMAGE_VERSION=rabbitmq:3.8-alpine
DOCKER_REDIS_IMAGE_VERSION=redis:6.0-alpine
# Gunicorn
GUNICORN_JITTER=50
GUNICORN_LIMIT_REQUEST_LINE=4094
GUNICORN_MAX_REQUESTS=500
GUNICORN_TIMEOUT=120
GUNICORN_WORKER_CLASS=sync
GUNICORN_WORKERS=3
# Python libraries
PYTHON_AMQP_VERSION=2.6.1
PYTHON_FLOWER_VERSION=0.9.7
PYTHON_MYSQL_VERSION=2.0.3
PYTHON_ORACLE_VERSION=8.1.0
PYTHON_PIP_VERSION=21.1.1
PYTHON_PSYCOPG2_VERSION=2.8.6
PYTHON_PSUTIL_VERSION=5.7.2
PYTHON_REDIS_VERSION=3.5.3
# URLs
SOURCE_CODE_REPOSITORY=https://gitlab.com/mayan-edms/mayan-edms/
SOURCE_CODE_GIT=https://gitlab.com/mayan-edms/mayan-edms.git
SOURCE_CODE_ISSUES=https://gitlab.com/mayan-edms/mayan-edms/issues/
# Settings
SECRET_KEY_FILENAME=SECRET_KEY
SYSTEM_DIR=system
# Supervisord
SUPERVISOR_CONFIGURATION_DIRECTORY=/etc/supervisor/conf.d/
SUPERVISOR_CONFIGURATION_FILENAME=mayan-edms.conf
# Workers
MAYAN_WORKER_A_CONCURRENCY=0
MAYAN_WORKER_A_MAX_MEMORY_PER_CHILD=300000
MAYAN_WORKER_A_MAX_TASKS_PER_CHILD=100
MAYAN_WORKER_B_CONCURRENCY=0
MAYAN_WORKER_B_MAX_MEMORY_PER_CHILD=300000
MAYAN_WORKER_B_MAX_TASKS_PER_CHILD=100
MAYAN_WORKER_C_CONCURRENCY=0
MAYAN_WORKER_C_MAX_MEMORY_PER_CHILD=300000
MAYAN_WORKER_C_MAX_TASKS_PER_CHILD=100
MAYAN_WORKER_D_CONCURRENCY=1
MAYAN_WORKER_D_MAX_MEMORY_PER_CHILD=300000
MAYAN_WORKER_D_MAX_TASKS_PER_CHILD=10