reverse-proxy/docker/start.sh
2025-06-12 01:33:06 -04:00

15 lines
342 B
Bash

#!/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