Skip to content
Snippets Groups Projects
Commit a41a84b2 authored by Simon Stachowiak's avatar Simon Stachowiak
Browse files

uwsgi-python: added darlehen system config

parent 8f38aec1
Branches
No related tags found
No related merge requests found
##########
# CONFIG #
##########
from secret_config import secret_key as SECRET_KEY
SQLALCHEMY_DATABASE_URI = 'postgresql://{{ app_user }}:@/{{ app_db_name }}'
SQLALCHEMY_TRACK_MODIFICATIONS = False
DEBUG = False
SESSION_COOKIE_SECURE = True
import datetime
REMEMBER_COOKIE_NAME = 'remember_token'
REMEMBER_COOKIE_DURATION = datetime.timedelta(30)
REMEMBER_COOKIE_DOMAIN = None
REMEMBER_COOKIE_PATH = '/'
REMEMBER_COOKIE_SECURE = True
REMEMBER_COOKIE_HTTPONLY = True
LDAP_HOST = '{{app_ldap_host}}'
SESSION_TIMEOUT_DAYS = 31
# MAIL
MAIL_FROM = '{{ app_mail_from }}'
MAIL_TO = ['{{ app_mail_to }}']
MAIL_SERVER = '{{app_mail_server}}'
MAIL_INTERVAL = 24 * 7 # in hours
---
app_name: "darlehen"
app_user: "{{ app.app }}"
app_group: "{{ app.app }}"
app_home: "/var/www/{{ app.app }}"
app_path: "/var/www/{{ app.app }}"
app_chdir: "{{ app_path }}"
app_lang: python
# Python specifics
app_python_version: 3
app_venv: "/var/www/{{ app.app }}/venv/"
app_program: "app.py"
app_callable: app
app_command: ""
app_module: ''
app_mountpoint: /
app_db_name: 'darlehen'
app_db_type: 'postgres'
app_deploy_key: "{{ inventory_dir }}/files/deploy-keys/{{ app.app }}"
app_git_url: "git@git.stud.rwth-aachen.de:finanzen/darlehensverwaltung.git"
app_git_version: HEAD
app_requirements_file: requirements.txt
app_config_file: config.py
app_secret_config: true
app_secret_config_keys: []
app_mail_to: "finanzen@asta.rwth-aachen.de"
app_mail_from: "admin@asta.rwth-aachen.de"
app_mail_server: "mail.asta.rwth-aachen.de"
app_ldap_host: "ldaps://ad.asta.rwth-aachen.de:636"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment