mirror of
https://github.com/Dokploy/templates.git
synced 2026-04-29 12:11:22 -05:00
* Update docker-compose.yml to include DOMAIN_NAME variable * Add DOMAIN_NAME to template
82 lines
1.9 KiB
TOML
82 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}"
|
|
DOMAIN_NAME= "${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>
|
|
"""
|