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