1
0
Fork 0

First version of the uffd collection
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

TODO: The build role should probably be replaced by some intragration as a .build quadlet.

Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
This commit is contained in:
Nis Wechselberg 2024-06-17 16:32:48 +02:00
parent 688c2456b7
commit 694fd412c9
Signed by: enbewe
GPG key ID: 7B25171F921B9E57
22 changed files with 680 additions and 0 deletions

View file

@ -0,0 +1,13 @@
server {
listen 80;
server_name _;
location / {
uwsgi_pass uffd-app:3031;
include uwsgi_params;
}
location /static {
alias /var/www/uffd/static;
}
}

View file

@ -0,0 +1,31 @@
FLASK_ENV = "production"
SQLALCHEMY_DATABASE_URI = "sqlite:////var/lib/uffd/db.sqlite"
SECRET_KEY = "{{ uffd_secret_key }}"
MAIL_FROM_ADDRESS = "{{ uffd_mail_from_address }}"
MAIL_SERVER = "{{ uffd_mail_server }}"
MAIL_PORT = "{{ uffd_mail_port }}"
MAIL_USE_STARTTLS = "{{ uffd_mail_use_starttls }}"
MAIL_USERNAME = "{{ uffd_mail_username }}"
MAIL_PASSWORD = "{{ uffd_mail_password }}"
MFA_RP_NAME = "{{ uffd_mfa_rp_name }}"
FOOTER_LINKS= [{"url": "{{ uffd_footer_links_url }}", "title": "{{ uffd_footer_links_title }}"}]
DEFAULT_PAGE_SERVICES = "{{ uffd_default_page_services }}"
SITE_TITLE = '{{ uffd_site_title }}'
ORGANISATION_NAME = '{{ uffd_organisation_name }}'
ORGANISATION_CONTACT = '{{ uffd_organisation_contact }}'
SERVICES=[
{% for service in uffd_services %}
{
'title': '{{ service.title }}',
'subtitle': '{{ service.subtitle }}',
'description': '{{ service.description }}',
'url': '{{ service.url }}',
'logo_url': '{{ service.logo_url }}',
'required_group': '{{ service.required_group }}',
},
{% endfor %}
]