mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2025-12-13 01:24:44 -05:00
- Upgrade Next.js and related packages for improved performance and security - Refactor invoice-related pages to streamline navigation and enhance user experience - Consolidate invoice editing and viewing functionality into a single page - Remove deprecated edit page and implement a new view page for invoices - Update links and routing for consistency across the dashboard
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
services:
|
|
db:
|
|
image: postgres:16-alpine
|
|
container_name: beenvoice-db
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
volumes:
|
|
- beenvoice_pg_data:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U beenvoice"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: beenvoice-app:latest
|
|
container_name: beenvoice-app
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
environment:
|
|
NODE_ENV: production
|
|
# no memory constraint
|
|
AUTH_SECRET: ${AUTH_SECRET}
|
|
RESEND_API_KEY: ${RESEND_API_KEY}
|
|
RESEND_DOMAIN: ${RESEND_DOMAIN}
|
|
DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
|
|
DB_DISABLE_SSL: "true"
|
|
PORT: ${PORT}
|
|
HOSTNAME: 0.0.0.0
|
|
SKIP_ENV_VALIDATION: "1"
|
|
ports:
|
|
- "${PORT:-3000}:3000"
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
beenvoice_pg_data:
|
|
driver: local
|
|
|
|
|