templates/blueprints/unifi/template.toml
Mauricio Siu 3a1f5f7c88 refactor: standardize domain configuration in template files
- Updated the configuration structure in multiple blueprint template files to ensure consistent formatting for 'domains' and 'env' sections.
- Adjusted indentation and alignment for better readability across various templates.
2025-03-30 01:36:48 -06:00

23 lines
298 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
"""