16 lines
342 B
Bash
16 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
|