reverse-proxy/docker/start.sh

16 lines
342 B
Bash
Raw Normal View History

2025-06-12 01:33:06 -04:00
#!/bin/bash
# Start script for Docker container
set -e
echo "🚀 Starting NGINX Proxy Manager..."
# Initialize database
echo "📊 Initializing database..."
cd /app && bun src/database/init.ts
# Start supervisor (manages nginx and our app)
echo "🔧 Starting services..."
exec supervisord -c /etc/supervisor/conf.d/supervisord.conf -n