first commit

This commit is contained in:
Mateusz Gruszczyński
2026-04-12 21:26:12 +02:00
commit ff7dbcb4e4
123 changed files with 27749 additions and 0 deletions

15
start_prod.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${ROOT_DIR}"
if [[ ! -f .env ]] && [[ -f .env.example ]]; then
cp .env.example .env
fi
if grep -q '^DEFAULT_ADMIN_PASSWORD=admin$' .env 2>/dev/null; then
echo "Warning: DEFAULT_ADMIN_PASSWORD is still set to admin in .env"
fi
docker compose up --build