mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
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.
This commit is contained in:
22
blueprints/unifi/template.toml
Normal file
22
blueprints/unifi/template.toml
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
||||
"""
|
||||
Reference in New Issue
Block a user