Raw refactoring of roles

This commit is contained in:
2025-05-09 17:47:33 +02:00
parent 82f442f40e
commit 5b47333955
177 changed files with 1483 additions and 1041 deletions

View File

@@ -0,0 +1,10 @@
credentials:
database_password:
description: "Password for the Snipe-IT database user"
algorithm: "bcrypt"
validation: "^\\$2[aby]\\$.{56}$"
app_key:
description: "Application encryption key for Snipe-IT (.env APP_KEY)"
algorithm: "plain"
validation: "^base64:[A-Za-z0-9+/=]{40,}$"

View File

@@ -4,7 +4,7 @@
APP_ENV=production
APP_DEBUG={{enable_debug | string | lower }}
# Please regenerate the APP_KEY value by calling `docker compose run --rm app php artisan key:generate --show`. Copy paste the value here
APP_KEY={{applications.snipe_it.app_key}}
APP_KEY={{applications[application_id].credentials.app_key}}
APP_URL=https://{{domains[application_id]}}
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - TZ identifier
APP_TIMEZONE='{{ HOST_TIMEZONE }}'

View File

@@ -0,0 +1,6 @@
version: "latest"
features:
matomo: true
css: true
landingpage_iframe: false
central_database: true

View File

@@ -1,3 +1,3 @@
application_id: "snipe_it"
database_password: "{{applications.snipe_it.credentials.database.password}}"
database_type: "mariadb"
application_id: "snipe_it"
database_password: "{{applications.snipe_it.credentials.database_password}}"
database_type: "mariadb"