mirror of
https://github.com/hanzoai/stack.git
synced 2026-11-19 03:06:57 +00:00
Update all references to use hanzoai/datastore-server image: - compose.yml, compose.core.yml - datastore service - Environment variables: HANZO_* instead of CLICKHOUSE_* - Volume names: datastore_data, datastore_logs - Config files: prometheus.yml, grafana datasources Note: PostHog still requires CLICKHOUSE_* env vars (upstream)
45 lines
899 B
YAML
45 lines
899 B
YAML
# Hanzo Stack - Grafana Datasources
|
|
apiVersion: 1
|
|
|
|
datasources:
|
|
# Prometheus for metrics
|
|
- name: Prometheus
|
|
type: prometheus
|
|
access: proxy
|
|
url: http://prometheus:9090
|
|
isDefault: true
|
|
editable: true
|
|
|
|
# Loki for logs
|
|
- name: Loki
|
|
type: loki
|
|
access: proxy
|
|
url: http://loki:3100
|
|
editable: true
|
|
|
|
# Hanzo Datastore for analytics data
|
|
- name: Datastore
|
|
type: grafana-clickhouse-datasource
|
|
access: proxy
|
|
url: http://datastore:8123
|
|
jsonData:
|
|
defaultDatabase: analytics
|
|
username: hanzo
|
|
secureJsonData:
|
|
password: hanzo123
|
|
editable: true
|
|
|
|
# PostgreSQL for application data
|
|
- name: PostgreSQL
|
|
type: postgres
|
|
url: postgres:5432
|
|
database: hanzo
|
|
user: hanzo
|
|
secureJsonData:
|
|
password: hanzo123
|
|
jsonData:
|
|
sslmode: disable
|
|
maxOpenConns: 10
|
|
maxIdleConns: 10
|
|
editable: true
|