Add cash management schema and immediate variance alerts
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
container_name: crm_omt_db
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: crm_omt
|
||||
ADMIN_EMAIL: ${ADMIN_EMAIL:-admin@local.test}
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-ChangeMe123!}
|
||||
ADMIN_NAME: ${ADMIN_NAME:-Local Admin}
|
||||
volumes:
|
||||
- dbdata:/var/lib/postgresql/data
|
||||
- ./supabase/migrations:/sql/migrations:ro
|
||||
- ./server/db/init:/docker-entrypoint-initdb.d:ro
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d crm_omt"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
dbdata:
|
||||
Reference in New Issue
Block a user