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:
48
blueprints/plausible/template.toml
Normal file
48
blueprints/plausible/template.toml
Normal file
@@ -0,0 +1,48 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
secret_base = "${base64:64}"
|
||||
totp_key = "${base64:32}"
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "plausible"
|
||||
port = 8_000
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
BASE_URL = "http://${main_domain}"
|
||||
SECRET_KEY_BASE = "${secret_base}"
|
||||
TOTP_VAULT_KEY = "${totp_key}"
|
||||
|
||||
[[config.mounts]]
|
||||
filePath = "/clickhouse/clickhouse-config.xml"
|
||||
content = """
|
||||
<clickhouse>
|
||||
<logger>
|
||||
<level>warning</level>
|
||||
<console>true</console>
|
||||
</logger>
|
||||
|
||||
<!-- Stop all the unnecessary logging -->
|
||||
<query_thread_log remove="remove"/>
|
||||
<query_log remove="remove"/>
|
||||
<text_log remove="remove"/>
|
||||
<trace_log remove="remove"/>
|
||||
<metric_log remove="remove"/>
|
||||
<asynchronous_metric_log remove="remove"/>
|
||||
<session_log remove="remove"/>
|
||||
<part_log remove="remove"/>
|
||||
</clickhouse>
|
||||
"""
|
||||
|
||||
[[config.mounts]]
|
||||
filePath = "/clickhouse/clickhouse-user-config.xml"
|
||||
content = """
|
||||
<clickhouse>
|
||||
<profiles>
|
||||
<default>
|
||||
<log_queries>0</log_queries>
|
||||
<log_query_threads>0</log_query_threads>
|
||||
</default>
|
||||
</profiles>
|
||||
</clickhouse>
|
||||
"""
|
||||
Reference in New Issue
Block a user