mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-03 13:05:25 +02:00
* fix(blueprint): rybbit v1.0, no more /api stripping Release notes: - https://github.com/rybbit-io/rybbit/releases/tag/v1.0.0 Migration guide: - https://www.rybbit.io/docs/v1-migration * fix(blueprint): rybbit /health -> /api/health in v1.0.0 * docs(blueprint): notes on rybbit domain * fix(blueprint): use version tag 1.0.0 in docker compose * fix(blueprint): bump clickhouse and postgres versions for rybbit * fix(blueprint): remote clickhouse config.d volume * fix(blueprint): remove network configurations * docs(blueprint): rybbit CORS typo * docs(blueprint): rybbit only supports HTTPS * feat(blueprint): rybbit clickhouse config mounted, bump versions * chore(blueprint): bump rybbit version in meta.json * deps: bump rybbit to v1.2.0
81 lines
1.9 KiB
TOML
81 lines
1.9 KiB
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
better_auth_secret = "${password:32}"
|
|
clickhouse_password = "${password:32}"
|
|
postgres_password = "${password:32}"
|
|
|
|
[[config.domains]]
|
|
serviceName = "rybbit_backend"
|
|
port = 3001
|
|
host = "${main_domain}"
|
|
path = "/api"
|
|
|
|
[[config.domains]]
|
|
serviceName = "rybbit_client"
|
|
port = 3002
|
|
host = "${main_domain}"
|
|
|
|
[config.env]
|
|
BASE_URL = "http://${main_domain}"
|
|
BETTER_AUTH_SECRET = "${better_auth_secret}"
|
|
DISABLE_SIGNUP = "false"
|
|
CLICKHOUSE_DB = "analytics"
|
|
CLICKHOUSE_USER = "default"
|
|
CLICKHOUSE_PASSWORD = "${clickhouse_password}"
|
|
POSTGRES_DB = "analytics"
|
|
POSTGRES_USER = "frog"
|
|
POSTGRES_PASSWORD = "${postgres_password}"
|
|
|
|
[[config.mounts]]
|
|
filePath = "./clickhouse_config/enable_json.xml"
|
|
content = """
|
|
<clickhouse>
|
|
<settings>
|
|
<enable_json_type>1</enable_json_type>
|
|
</settings>
|
|
</clickhouse>
|
|
"""
|
|
|
|
[[config.mounts]]
|
|
filePath = "./clickhouse_config/logging_rules.xml"
|
|
content = """
|
|
<clickhouse>
|
|
<logger>
|
|
<level>warning</level>
|
|
<console>true</console>
|
|
</logger>
|
|
<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"/>
|
|
<latency_log remove="remove"/>
|
|
<processors_profile_log remove="remove"/>
|
|
</clickhouse>
|
|
"""
|
|
|
|
[[config.mounts]]
|
|
filePath = "./clickhouse_config/network.xml"
|
|
content = """
|
|
<clickhouse>
|
|
<listen_host>0.0.0.0</listen_host>
|
|
</clickhouse>
|
|
"""
|
|
|
|
[[config.mounts]]
|
|
filePath = "./clickhouse_config/user_logging.xml"
|
|
content = """
|
|
<clickhouse>
|
|
<profiles>
|
|
<default>
|
|
<log_queries>0</log_queries>
|
|
<log_query_threads>0</log_query_threads>
|
|
<log_processors_profiles>0</log_processors_profiles>
|
|
</default>
|
|
</profiles>
|
|
</clickhouse>
|
|
"""
|