mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Update template.yml
This commit is contained in:
parent
4d5c7fd6ba
commit
a25fe78d21
@ -1,44 +1,55 @@
|
|||||||
metadata:
|
metadata:
|
||||||
id: plausible
|
id: plausible
|
||||||
name: Plausible Analytics
|
name: Plausible Analytics
|
||||||
description: Privacy-focused Google Analytics alternative
|
description: Privacy-focused Google Analytics alternative
|
||||||
tags:
|
tags:
|
||||||
- analytics
|
- analytics
|
||||||
- privacy
|
- privacy
|
||||||
- statistics
|
- statistics
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
db_password: ${password:32}
|
main_domain: ${randomDomain}
|
||||||
admin_password: ${password:16}
|
secret_base: ${base64:64}
|
||||||
secret_key: ${base64:64}
|
totp_key: ${base64:32}
|
||||||
main_domain: ${randomDomain}
|
|
||||||
|
config:
|
||||||
config:
|
domains:
|
||||||
domains:
|
- serviceName: plausible
|
||||||
- serviceName: plausible
|
port: 8000
|
||||||
port: 8000
|
host: ${main_domain}
|
||||||
path: /
|
|
||||||
host: plausible-${main_domain}
|
env:
|
||||||
- serviceName: admin
|
BASE_URL: http://${main_domain}
|
||||||
port: 8001
|
SECRET_KEY_BASE: ${secret_base}
|
||||||
path: /admin
|
TOTP_VAULT_KEY: ${totp_key}
|
||||||
host: admin-${main_domain}
|
|
||||||
|
mounts:
|
||||||
env:
|
- filePath: /clickhouse/clickhouse-config.xml
|
||||||
ADMIN_USER_EMAIL: admin@example.com
|
content: |
|
||||||
ADMIN_USER_NAME: admin
|
<clickhouse>
|
||||||
ADMIN_USER_PWD: ${admin_password}
|
<logger>
|
||||||
SECRET_KEY_BASE: ${secret_key}
|
<level>warning</level>
|
||||||
DB: plausible
|
<console>true</console>
|
||||||
DB_USER: plausible
|
</logger>
|
||||||
DB_PASSWORD: ${db_password}
|
|
||||||
CLICKHOUSE_USER: default
|
<!-- Stop all the unnecessary logging -->
|
||||||
CLICKHOUSE_PASSWORD: ${password:32}
|
<query_thread_log remove="remove"/>
|
||||||
DOMAIN: ${domain:plausible}
|
<query_log remove="remove"/>
|
||||||
ADMIN_DOMAIN: ${domain:admin}
|
<text_log remove="remove"/>
|
||||||
|
<trace_log remove="remove"/>
|
||||||
mounts:
|
<metric_log remove="remove"/>
|
||||||
- filePath: nginx.conf
|
<asynchronous_metric_log remove="remove"/>
|
||||||
content: |
|
<session_log remove="remove"/>
|
||||||
server_name ${domain:plausible};
|
<part_log remove="remove"/>
|
||||||
# resto de la configuración...
|
</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>
|
||||||
|
Loading…
Reference in New Issue
Block a user