mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Update and rename metadata.json to template.yml
This commit is contained in:
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "plausible",
|
|
||||||
"name": "Plausible Analytics",
|
|
||||||
"version": "latest",
|
|
||||||
"description": "Plausible es una alternativa ligera y de código abierto a Google Analytics. Simple, respetuosa con la privacidad y cumple con el GDPR/CCPA. No utiliza cookies y no recopila datos personales.",
|
|
||||||
"logo": "plausible.svg",
|
|
||||||
"links": {
|
|
||||||
"github": "https://github.com/plausible/analytics",
|
|
||||||
"website": "https://plausible.io",
|
|
||||||
"docs": "https://plausible.io/docs"
|
|
||||||
},
|
|
||||||
"tags": [
|
|
||||||
"analytics",
|
|
||||||
"privacy",
|
|
||||||
"statistics",
|
|
||||||
"web-analytics",
|
|
||||||
"gdpr-compliant"
|
|
||||||
],
|
|
||||||
"requirements": {
|
|
||||||
"memory": "512MB",
|
|
||||||
"cpu": "1x",
|
|
||||||
"disk": "1GB"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
44
templates/plausible/template.yml
Normal file
44
templates/plausible/template.yml
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
metadata:
|
||||||
|
id: plausible
|
||||||
|
name: Plausible Analytics
|
||||||
|
description: Privacy-focused Google Analytics alternative
|
||||||
|
tags:
|
||||||
|
- analytics
|
||||||
|
- privacy
|
||||||
|
- statistics
|
||||||
|
|
||||||
|
variables:
|
||||||
|
db_password: ${password:32}
|
||||||
|
admin_password: ${password:16}
|
||||||
|
secret_key: ${base64:64}
|
||||||
|
main_domain: ${randomDomain}
|
||||||
|
|
||||||
|
config:
|
||||||
|
domains:
|
||||||
|
- serviceName: plausible
|
||||||
|
port: 8000
|
||||||
|
path: /
|
||||||
|
host: plausible-${main_domain}
|
||||||
|
- serviceName: admin
|
||||||
|
port: 8001
|
||||||
|
path: /admin
|
||||||
|
host: admin-${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}
|
||||||
|
|
||||||
|
mounts:
|
||||||
|
- filePath: nginx.conf
|
||||||
|
content: |
|
||||||
|
server_name ${domain:plausible};
|
||||||
|
# resto de la configuración...
|
||||||
Reference in New Issue
Block a user