mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 00:41:09 +02:00
- Add nutriphi-database package with Drizzle ORM - meals and nutrition_goals schemas - PostgreSQL 16 Docker setup - Drizzle Kit configuration - Migrate backend from Supabase to Drizzle - Add DatabaseModule with connection pooling - Add StorageService for Hetzner Object Storage (S3-compatible) - Update MealsService with Drizzle queries - Add /api/meals/upload endpoint for image upload + analysis - Update web app to use backend for uploads - Remove Supabase Storage direct upload - Update uploadService to send images to backend - Remove Supabase dependencies from package.json - Simplify hooks.server.ts - Add Coolify deployment configuration - Dockerfile for production build - docker-compose.coolify.yml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
873 B
YAML
36 lines
873 B
YAML
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
container_name: nutriphi-postgres
|
|
restart: unless-stopped
|
|
ports:
|
|
- '5435:5432'
|
|
environment:
|
|
POSTGRES_DB: nutriphi
|
|
POSTGRES_USER: nutriphi
|
|
POSTGRES_PASSWORD: nutriphi_dev_password
|
|
volumes:
|
|
- nutriphi_postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U nutriphi -d nutriphi']
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
pgadmin:
|
|
image: dpage/pgadmin4:latest
|
|
container_name: nutriphi-pgadmin
|
|
restart: unless-stopped
|
|
ports:
|
|
- '5052:80'
|
|
environment:
|
|
PGADMIN_DEFAULT_EMAIL: admin@nutriphi.local
|
|
PGADMIN_DEFAULT_PASSWORD: admin
|
|
volumes:
|
|
- nutriphi_pgadmin_data:/var/lib/pgadmin
|
|
depends_on:
|
|
- postgres
|
|
|
|
volumes:
|
|
nutriphi_postgres_data:
|
|
nutriphi_pgadmin_data:
|