mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-01 20:15:30 +02:00
* feat(blueprint): added rybbit template * feat: add rybbit entry to meta.json * docs: added rybbit self-hosting-advanced link as comment to docker-compose.yml * fix: remove default env args in docker-compose * chore: re-order rybbit_postgres env * fix: added missing clickhouse_user env * Update blueprints/rybbit/template.toml --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
42 lines
1.0 KiB
TOML
42 lines
1.0 KiB
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
better_auth_secret = "${password:32}"
|
|
clickhouse_password = "${password:32}"
|
|
postgres_password = "${password:32}"
|
|
|
|
[[config.domains]]
|
|
serviceName = "rybbit_caddy"
|
|
port = 80
|
|
host = "${main_domain}"
|
|
|
|
[config.env]
|
|
BASE_URL = "http://${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 = "./Caddyfile"
|
|
content = """
|
|
{$BASE_URL} {
|
|
route {
|
|
@api path /api/*
|
|
uri @api strip_prefix /api
|
|
reverse_proxy @api http://rybbit_backend:3001 {
|
|
header_up Host {http.reverse_proxy.upstream.hostport}
|
|
header_up X-Real-IP {http.request.header.X-Real-IP}
|
|
}
|
|
|
|
reverse_proxy http://rybbit_client:3002 {
|
|
header_up Host {http.reverse_proxy.upstream.hostport}
|
|
header_up X-Real-IP {http.request.header.X-Real-IP}
|
|
}
|
|
}
|
|
}
|
|
"""
|