chore(backend-api): 🔧 Update .env.local.example template and docker-compose.yml configuration files
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
564c4dfb04
commit
6cde79c69e
2 changed files with 35 additions and 0 deletions
7
features/attributes/backend-api/.env.local.example
Normal file
7
features/attributes/backend-api/.env.local.example
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Database connection (matches docker-compose defaults)
|
||||
DATABASE_POSTGRES_USER=lilith
|
||||
DATABASE_POSTGRES_PASSWORD=lilith
|
||||
DATABASE_POSTGRES_NAME=lilith
|
||||
|
||||
# Environment
|
||||
NODE_ENV=development
|
||||
28
features/profile/frontend-showcase/docker-compose.yml
Normal file
28
features/profile/frontend-showcase/docker-compose.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Profile Showcase PostgreSQL
|
||||
# Database for attributes API used by frontend showcase
|
||||
#
|
||||
# Run with: bun run showcase (starts this + API + frontend)
|
||||
# Or standalone: docker compose up
|
||||
|
||||
services:
|
||||
showcase-postgres:
|
||||
image: postgres:17-alpine
|
||||
container_name: lilith-showcase-attributes-postgres
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '25432:5432'
|
||||
environment:
|
||||
POSTGRES_USER: lilith
|
||||
POSTGRES_PASSWORD: lilith
|
||||
POSTGRES_DB: lilith
|
||||
volumes:
|
||||
- showcase-postgres-data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'pg_isready -U lilith']
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
showcase-postgres-data:
|
||||
name: lilith-dev-showcase-postgres-data
|
||||
Loading…
Add table
Reference in a new issue