From acad3f217f8fdd87b405cbf4e7354ee60c73d164 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 6 Jul 2025 21:14:47 +0200 Subject: [PATCH] Finished docker template --- templates/docker_role/README.md | 2 - templates/docker_role/README.md.j2 | 19 +++++++++ .../docker_role/vars/configuration.yml.j2 | 42 +++++++------------ templates/docker_role/vars/main.yml.j2 | 3 +- 4 files changed, 37 insertions(+), 29 deletions(-) delete mode 100644 templates/docker_role/README.md create mode 100644 templates/docker_role/README.md.j2 diff --git a/templates/docker_role/README.md b/templates/docker_role/README.md deleted file mode 100644 index 073ed83b..00000000 --- a/templates/docker_role/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# Docker Role Template -This folder contains a template to setup docker roles \ No newline at end of file diff --git a/templates/docker_role/README.md.j2 b/templates/docker_role/README.md.j2 new file mode 100644 index 00000000..a9c94671 --- /dev/null +++ b/templates/docker_role/README.md.j2 @@ -0,0 +1,19 @@ +# Docker Role Template + +This folder contains a template to setup docker roles. + +## Description + +* Put a description here. + +## Overview + +Put an overview here. + +## Features + +Put a feature list here + +## Further Resources + +* Put more ressources here \ No newline at end of file diff --git a/templates/docker_role/vars/configuration.yml.j2 b/templates/docker_role/vars/configuration.yml.j2 index 3bce8e50..93e8620d 100644 --- a/templates/docker_role/vars/configuration.yml.j2 +++ b/templates/docker_role/vars/configuration.yml.j2 @@ -1,29 +1,19 @@ +credentials: +docker: + images: {} + versions: {} features: - matomo: true - css: true - portfolio_iframe: false -csp: - whitelist: - script-src-elem: - - https://cdn.jsdelivr.net - - https://kit.fontawesome.com - style-src: - - https://cdn.jsdelivr.net - font-src: - - https://ka-f.fontawesome.com - - https://cdn.jsdelivr.net - connect-src: - - https://ka-f.fontawesome.com - frame-src: - - "{{ web_protocol }}://*.{{primary_domain}}" - flags: - style-src: - unsafe-inline: true - script-src: - unsafe-inline: true - script-src-elem: - unsafe-inline: true + matomo: true # Enable Matomo Tracking + css: true # Enable Global CSS Styling + portfolio_iframe: true # Enable loading of app in iframe + ldap: false # Enable LDAP Network + central_database: false # Enable Central Database Network + recaptcha: false # Enable ReCaptcha + oauth2: false # Enable the OAuth2-Proy +csp: + whitelist: {} # URL's which should be whitelisted + flags: {} # Flags which should be set domains: - canonical: - - "{{ primary_domain }}" + canonical: [] # Urls under which the domain should be directly accessible + alias: [] # Alias redirections to the first element of the canonical domains diff --git a/templates/docker_role/vars/main.yml.j2 b/templates/docker_role/vars/main.yml.j2 index cd400169..912a22c2 100644 --- a/templates/docker_role/vars/main.yml.j2 +++ b/templates/docker_role/vars/main.yml.j2 @@ -1 +1,2 @@ -application_id: {{ application_id }} \ No newline at end of file +application_id: {{ application_id }} # ID of the application +database_type: {{ database }} # Database type [postgres, mariadb] \ No newline at end of file