infra/roles/mayan/templates/mayan.env.j2

28 lines
693 B
Django/Jinja

MAYAN_CELERY_BROKER_URL=redis://mayan-redis:6379/0
MAYAN_CELERY_RESULT_BACKEND=redis://mayan-redis:6379/1
MAYAN_DATABASES={'default':{'ENGINE':'django.db.backends.postgresql','NAME':'mayan','PASSWORD':'{{ systemuserlist.mayan.postgres_pass }}','USER':'mayan','HOST':'mayan-postgresql'} }
MAYAN_SKIP_CHOWN_ON_STARTUP=false
MAYAN_DOCKER_WAIT=mayan-postgresql:5432
MAYAN_USER_UID={{ systemuserlist.mayan.uid }}
MAYAN_USER_GID={{ systemuserlist.mayan.gid }}
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST={{ smtp_server }}
EMAIL_HOST_USER={{ smtp_username }}
EMAIL_HOST_PASSWORD={{ smtp_passwd }}
EMAIL_PORT={{ smtp_port }}
EMAIL_USE_TLS=true
EMAIL_USE_SSL=true