mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
- 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.
23 lines
307 B
TOML
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
|
|
"""
|