Files
templates/blueprints/unifi/template.toml
Mauricio Siu 0f16376f98 chore: add yaml and toml dependencies, and create script for converting YAML to TOML
- Added 'yaml' and '@iarna/toml' dependencies in package.json.
- Created a new script.js file to process YAML files and convert them to TOML format.
- Added template.toml files for various blueprints in the blueprints directory.
2025-03-30 00:51:49 -06:00

23 lines
307 B
TOML

variables = { }
[config]
domains = [ ]
env = { }
[[config.mounts]]
filePath = "init-mongo.sh"
content = """
#!/bin/bash
mongo <<EOF
use unifi
db.createUser({
user: "unifi",
pwd: "unifi_password",
roles: [
{ db: "unifi", role: "dbOwner" },
{ db: "unifi_stat", role: "dbOwner" }
]
})
EOF
"""