mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-05 06:31:46 +09:00
Follow-up to 025fa0be: keep serverkit.ai as the stable icon host rather
than jsDelivr. The registry repo remains the canonical home of the logo
files; serverkit.ai proxies /imgs/template-icons/ from its raw tree, so
these URLs now resolve for all 210 logos instead of only the legacy
subset the website bundles.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
85 lines
2.1 KiB
YAML
85 lines
2.1 KiB
YAML
id: metabase
|
|
name: Metabase
|
|
version: "1.0"
|
|
description: Open-source business intelligence and dashboards tool for exploring your data.
|
|
icon: https://serverkit.ai/imgs/template-icons/metabase.svg
|
|
website: https://www.metabase.com
|
|
documentation: https://www.metabase.com/docs/latest/
|
|
categories:
|
|
- analytics
|
|
- business
|
|
- productivity
|
|
|
|
variables:
|
|
- name: HTTP_PORT
|
|
description: Port for the Metabase web UI (auto-assigned)
|
|
type: port
|
|
default: "3000"
|
|
hidden: true
|
|
- name: DB_PASSWORD
|
|
description: PostgreSQL password for the Metabase metadata database (auto-generated)
|
|
type: password
|
|
length: 32
|
|
hidden: true
|
|
|
|
ports:
|
|
- port: "${HTTP_PORT}"
|
|
protocol: http
|
|
description: Metabase Web UI
|
|
|
|
requirements:
|
|
memory: 2GB
|
|
storage: 2GB
|
|
|
|
compose:
|
|
services:
|
|
metabase:
|
|
image: metabase/metabase:v0.51.6
|
|
container_name: ${APP_NAME}
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HTTP_PORT}:3000"
|
|
environment:
|
|
MB_DB_TYPE: "postgres"
|
|
MB_DB_DBNAME: "metabase"
|
|
MB_DB_PORT: "5432"
|
|
MB_DB_USER: "metabase"
|
|
MB_DB_PASS: "${DB_PASSWORD}"
|
|
MB_DB_HOST: "db"
|
|
depends_on:
|
|
- db
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:3000/api/health || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 90s
|
|
|
|
db:
|
|
image: postgres:16-alpine
|
|
container_name: ${APP_NAME}-db
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: metabase
|
|
POSTGRES_USER: metabase
|
|
POSTGRES_PASSWORD: "${DB_PASSWORD}"
|
|
volumes:
|
|
- metabase-db:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U metabase -d metabase"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
metabase-db:
|
|
|
|
post_install: |
|
|
Metabase is installed and running!
|
|
|
|
- Web UI: http://your-server:${HTTP_PORT}
|
|
|
|
On first visit, complete the setup wizard at the web UI to create your
|
|
admin account, then connect the data sources you want to analyze and
|
|
start building dashboards.
|