first commit

This commit is contained in:
Mateusz Gruszczyński
2026-04-14 11:39:46 +02:00
commit 3da6c2832c
125 changed files with 30111 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