mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Raw refactoring of roles
This commit is contained in:
10
roles/docker-pixelfed/meta/schema.yml
Normal file
10
roles/docker-pixelfed/meta/schema.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
credentials:
|
||||
database_password:
|
||||
description: "Password for the Pixelfed database user"
|
||||
algorithm: "bcrypt"
|
||||
validation: "^\\$2[aby]\\$.{56}$"
|
||||
|
||||
app_key:
|
||||
description: "Application key used for encryption in Pixelfed (.env APP_KEY)"
|
||||
algorithm: "plain"
|
||||
validation: "^base64:[A-Za-z0-9+/=]{40,}$"
|
@@ -1,5 +1,5 @@
|
||||
## Crypto
|
||||
APP_KEY={{pixelfed_app_key}}
|
||||
APP_KEY={{applications[application_id].credentials.app_key}}
|
||||
|
||||
## General Settings
|
||||
APP_NAME="{{applications.pixelfed.titel}}"
|
||||
|
7
roles/docker-pixelfed/vars/configuration.yml
Normal file
7
roles/docker-pixelfed/vars/configuration.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
titel: "Pictures on {{primary_domain}}"
|
||||
version: "latest"
|
||||
features:
|
||||
matomo: true
|
||||
css: true
|
||||
landingpage_iframe: false
|
||||
central_database: true
|
@@ -1,4 +1,4 @@
|
||||
application_id: "pixelfed"
|
||||
nginx_docker_reverse_proxy_extra_configuration: "client_max_body_size 512M;"
|
||||
database_type: "mariadb"
|
||||
database_password: "{{pixelfed_database_password}}"
|
||||
database_password: "{{applications[application_id].credentials.database_password}}"
|
||||
|
Reference in New Issue
Block a user