Prepare shop-ready deployment docs and fix transaction modal UI

This commit is contained in:
Krikorios
2026-05-20 19:47:55 +03:00
parent 1896cbdd11
commit 1f23102050
16 changed files with 584 additions and 60 deletions
+9 -6
View File
@@ -3,14 +3,16 @@ services:
image: postgres:16-alpine
container_name: crm_omt_db
restart: unless-stopped
# bind to loopback only — DB is reachable from the API on this box, not from the LAN
ports:
- "5432:5432"
- "127.0.0.1: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}
# all of these MUST come from the .env file at repo root — no defaults
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}
POSTGRES_DB: ${POSTGRES_DB:-crm_omt}
ADMIN_EMAIL: ${ADMIN_EMAIL:?ADMIN_EMAIL is required}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:?ADMIN_PASSWORD is required}
ADMIN_NAME: ${ADMIN_NAME:-Owner}
volumes:
- dbdata:/var/lib/postgresql/data
- ./supabase/migrations:/sql/migrations:ro
@@ -23,3 +25,4 @@ services:
volumes:
dbdata: