Skip to content
Snippets Groups Projects
Commit 04fac220 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

add changes for vampir mitgliederdatenbank 2.0

parent 9b60c368
No related branches found
No related tags found
1 merge request!21add changes for vampir mitgliederdatenbank 2.0
Pipeline #3086 passed
...@@ -341,6 +341,15 @@ ...@@ -341,6 +341,15 @@
- "{{ app.app }}" - "{{ app.app }}"
- "{{ app.instance }}" - "{{ app.instance }}"
- name: ensure we have a spooler dir if needed
file:
path: "{{ app_spooler_dir }}"
state: directory
owner: "{{ app_user }}"
group: "{{ app_group }}"
mode: '0750'
when: app_spooler|default(false)
- meta: flush_handlers - meta: flush_handlers
- name: ensure the service is enabled - name: ensure the service is enabled
......
---
- name: ensure we have a folder for invoices
file:
path: "{{ app_path}}/rechnungen"
state: directory
owner: "{{ app_user }}"
group: "{{ app_group }}"
mode: '0750'
from secret_config import secret_key as SECRET_KEY from secret_config import secret_key as SECRET_KEY
SQLALCHEMY_DATABASE_URI = 'mysql://{{ app_user }}:{{ app_db_password }}@/{{ app_db_name }}' SQLALCHEMY_DATABASE_URI = 'postgresql://{{ app_user }}:@/{{ app_db_name }}'
SQLALCHEMY_TRACK_MODIFICATIONS = False SQLALCHEMY_TRACK_MODIFICATIONS = False
DEBUG = False DEBUG = False
SESSION_COOKIE_SECURE = True SESSION_COOKIE_SECURE = True
BRANDING_TITLE = "{{ app_branding_title }}" BRANDING_TITLE = "{{ app_branding_title }}"
BRANDING_DESCRIPTION = """{{ app_branding_description }}""" BRANDING_DESCRIPTION = """{{ app_branding_description }}"""
OVERRIDE_MAIL_DESTINATION = False
TESTING_MAILS = ["{{ app_testing_mails }}"]
MAIL_SERVER = "{{ app_mail_server }}"
MAIL_USE_TLS = True
MAIL_TIMEOUT = 10
MAIL_USE_LOCALTIME = True
NO_SPOOLER = False
...@@ -32,6 +32,10 @@ env = {{ env }} ...@@ -32,6 +32,10 @@ env = {{ env }}
{% for mule in range(app_mules|default(0)) %} {% for mule in range(app_mules|default(0)) %}
mule = mule =
{% endfor %} {% endfor %}
{% if app_spooler|default(false) %}
spooler = {{app_spooler_dir}}
spooler-interval = {{app_spooler_interval|default(30)}}
{% endif %}
#umask = 227 #umask = 227
chdir = {{app_chdir}} chdir = {{app_chdir}}
uid = {{app_user}} uid = {{app_user}}
......
...@@ -17,7 +17,7 @@ app_enable_threads: false ...@@ -17,7 +17,7 @@ app_enable_threads: false
app_uwsgi_options: [] app_uwsgi_options: []
app_db_name: vampir app_db_name: vampir
app_db_type: mysql app_db_type: postgres
app_additional_software: [] app_additional_software: []
...@@ -34,3 +34,9 @@ app_branding_title: "Vampir Mitgliederdatenbank" ...@@ -34,3 +34,9 @@ app_branding_title: "Vampir Mitgliederdatenbank"
app_branding_description: > app_branding_description: >
Verwaltungsinterface zur Mitgliederdatenbank des Vereins der Alumni Verwaltungsinterface zur Mitgliederdatenbank des Vereins der Alumni
der Fachschaft Mathematik/Physik/Informatik an der RWTH Aachen e.V. der Fachschaft Mathematik/Physik/Informatik an der RWTH Aachen e.V.
app_mail_server: "mail.fsmpi.rwth-aachen.de"
app_testing_mails: "vampir-vorstand@fsmpi.rwth-aachen.de"
app_spooler: true
app_spooler_dir: "{{app_path}}/spooler"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment