feat(phase-0,phase-2): bootstrap DB schemas + Metabase/NocoDB compose + work_types seed
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
services:
|
||||
metabase:
|
||||
image: metabase/metabase:latest
|
||||
container_name: bfd_metabase
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${METABASE_PORT:-3001}:3000"
|
||||
environment:
|
||||
MB_DB_TYPE: postgres
|
||||
MB_DB_DBNAME: ${PG_DB}
|
||||
MB_DB_PORT: 5432
|
||||
MB_DB_USER: ${PG_USER}
|
||||
MB_DB_PASS: ${PG_PASSWORD}
|
||||
MB_DB_HOST: ${PG_HOST}
|
||||
MB_SITE_NAME: ${METABASE_SITE_NAME:-bit-flight-deck}
|
||||
networks:
|
||||
- pipeline_net
|
||||
|
||||
nocodb:
|
||||
image: nocodb/nocodb:latest
|
||||
container_name: bfd_nocodb
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${NOCODB_PORT:-8090}:8080"
|
||||
environment:
|
||||
NC_DB: "pg://${PG_HOST}:5432?u=${PG_USER}&p=${PG_PASSWORD}&d=${PG_DB}"
|
||||
NC_ADMIN_EMAIL: ${NOCODB_ADMIN_EMAIL}
|
||||
NC_ADMIN_PASSWORD: ${NOCODB_ADMIN_PASSWORD}
|
||||
networks:
|
||||
- pipeline_net
|
||||
|
||||
networks:
|
||||
pipeline_net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user