refactor: convert template.yml files to template.toml format

- Updated the script to convert 'template.yml' files to 'template.toml' files during directory processing.
- Added new 'template.toml' files for Backrest and BlinkO blueprints with appropriate configuration settings.
This commit is contained in:
Mauricio Siu
2025-03-30 04:04:27 -06:00
parent 38e8d9e66a
commit ec644490be
3 changed files with 37 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
[variables]
main_domain = "${domain}"
[config]
env = ["TZ=Europe/Paris"]
mounts = []
[[config.domains]]
serviceName = "backrest"
port = 9_898
host = "${main_domain}"

View File

@@ -0,0 +1,20 @@
[variables]
main_domain = "${domain}"
postgres_password = "${password:16}"
nextauth_secret = "${password:32}"
nextauth_url = "http://${main_domain}"
next_public_base_url = "http://${main_domain}"
[config]
env = [
"nextauth_secret=${nextauth_secret}",
"postgres_password=${postgres_password}",
"nextauth_url=${nextauth_url}",
"next_public_base_url=${next_public_base_url}",
]
mounts = []
[[config.domains]]
serviceName = "blinko-website"
port = 1_111
host = "${main_domain}"