Update template.yml

This commit is contained in:
Mauricio Siu 2025-03-01 01:43:39 -06:00 committed by GitHub
parent 4d5c7fd6ba
commit a25fe78d21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,37 +8,48 @@ metadata:
- statistics
variables:
db_password: ${password:32}
admin_password: ${password:16}
secret_key: ${base64:64}
main_domain: ${randomDomain}
secret_base: ${base64:64}
totp_key: ${base64:32}
config:
domains:
- serviceName: plausible
port: 8000
path: /
host: plausible-${main_domain}
- serviceName: admin
port: 8001
path: /admin
host: admin-${main_domain}
host: ${main_domain}
env:
ADMIN_USER_EMAIL: admin@example.com
ADMIN_USER_NAME: admin
ADMIN_USER_PWD: ${admin_password}
SECRET_KEY_BASE: ${secret_key}
DB: plausible
DB_USER: plausible
DB_PASSWORD: ${db_password}
CLICKHOUSE_USER: default
CLICKHOUSE_PASSWORD: ${password:32}
DOMAIN: ${domain:plausible}
ADMIN_DOMAIN: ${domain:admin}
BASE_URL: http://${main_domain}
SECRET_KEY_BASE: ${secret_base}
TOTP_VAULT_KEY: ${totp_key}
mounts:
- filePath: nginx.conf
- filePath: /clickhouse/clickhouse-config.xml
content: |
server_name ${domain:plausible};
# resto de la configuración...
<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>
- 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>