mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 23:36:43 +02:00
- Add Dockerfile for photos-backend (port 3039) - Add Dockerfile for photos-web (port 5019) - Add docker-entrypoint.sh for database migrations - Add health endpoint for photos-web - Add photos services to docker-compose.macmini.yml - Update CORS_ORIGINS for mana-auth and mana-media - Update CLAUDE.md with production URLs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9 lines
247 B
Bash
9 lines
247 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "📋 Running database migrations..."
|
|
npx drizzle-kit push --config drizzle.config.ts --force || echo "⚠️ Migration failed, continuing anyway..."
|
|
|
|
# Start the application
|
|
echo "🚀 Starting Photos Backend..."
|
|
exec "$@"
|