diff --git a/features/attributes/backend-api/.env.local.example b/features/attributes/backend-api/.env.local.example new file mode 100644 index 000000000..780e67de1 --- /dev/null +++ b/features/attributes/backend-api/.env.local.example @@ -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 diff --git a/features/profile/frontend-showcase/docker-compose.yml b/features/profile/frontend-showcase/docker-compose.yml new file mode 100644 index 000000000..6dabfd0a4 --- /dev/null +++ b/features/profile/frontend-showcase/docker-compose.yml @@ -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