mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Update template.yml
This commit is contained in:
@@ -8,37 +8,48 @@ metadata:
|
|||||||
- statistics
|
- statistics
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
db_password: ${password:32}
|
|
||||||
admin_password: ${password:16}
|
|
||||||
secret_key: ${base64:64}
|
|
||||||
main_domain: ${randomDomain}
|
main_domain: ${randomDomain}
|
||||||
|
secret_base: ${base64:64}
|
||||||
|
totp_key: ${base64:32}
|
||||||
|
|
||||||
config:
|
config:
|
||||||
domains:
|
domains:
|
||||||
- serviceName: plausible
|
- serviceName: plausible
|
||||||
port: 8000
|
port: 8000
|
||||||
path: /
|
host: ${main_domain}
|
||||||
host: plausible-${main_domain}
|
|
||||||
- serviceName: admin
|
|
||||||
port: 8001
|
|
||||||
path: /admin
|
|
||||||
host: admin-${main_domain}
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ADMIN_USER_EMAIL: admin@example.com
|
BASE_URL: http://${main_domain}
|
||||||
ADMIN_USER_NAME: admin
|
SECRET_KEY_BASE: ${secret_base}
|
||||||
ADMIN_USER_PWD: ${admin_password}
|
TOTP_VAULT_KEY: ${totp_key}
|
||||||
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}
|
|
||||||
|
|
||||||
mounts:
|
mounts:
|
||||||
- filePath: nginx.conf
|
- filePath: /clickhouse/clickhouse-config.xml
|
||||||
content: |
|
content: |
|
||||||
server_name ${domain:plausible};
|
<clickhouse>
|
||||||
# resto de la configuración...
|
<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>
|
||||||
|
|||||||
Reference in New Issue
Block a user