mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
26 lines
613 B
YAML
26 lines
613 B
YAML
version: "3.8"
|
|
services:
|
|
metabase:
|
|
image: metabase/metabase:v0.50.8
|
|
volumes:
|
|
- /dev/urandom:/dev/random:ro
|
|
environment:
|
|
MB_DB_TYPE: postgres
|
|
MB_DB_DBNAME: metabaseappdb
|
|
MB_DB_PORT: 5432
|
|
MB_DB_USER: metabase
|
|
MB_DB_PASS: mysecretpassword
|
|
MB_DB_HOST: postgres
|
|
healthcheck:
|
|
test: curl --fail -I http://localhost:3000/api/health || exit 1
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 5
|
|
postgres:
|
|
image: postgres:14
|
|
environment:
|
|
POSTGRES_USER: metabase
|
|
POSTGRES_DB: metabaseappdb
|
|
POSTGRES_PASSWORD: mysecretpassword
|
|
|