Some checks failed
Build and Push Docker Images (Trusted) / build-and-push (., docker/caddy/Dockerfile, caddy) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/l4-port-manager/Dockerfile, l4-port-manager) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/web/Dockerfile, web) (push) Has been cancelled
Tests / test (push) Has been cancelled
12 lines
245 B
Bash
Executable File
12 lines
245 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
DB_PATH="${DATABASE_PATH:-/app/data/caddy-proxy-manager.db}"
|
|
DB_DIR=$(dirname "$DB_PATH")
|
|
|
|
echo "Ensuring database directory exists..."
|
|
mkdir -p "$DB_DIR"
|
|
|
|
echo "Starting application..."
|
|
exec env HOSTNAME=0.0.0.0 bun server.js
|