www in docker support

This commit is contained in:
MaddoScientisto 2026-04-22 18:41:37 +02:00
commit c227fce036
2145 changed files with 399596 additions and 58 deletions

View file

@ -0,0 +1,12 @@
#!/bin/sh
set -eu
seed_dump="${LOCAL_DB_SEED_DUMP:-pg-model-seed-trimmed-20260421.sql}"
if [ ! -f "/seed/${seed_dump}" ]; then
echo "Seed dump not found: /seed/${seed_dump}" >&2
exit 1
fi
echo "Importing seed dump: ${seed_dump}"
mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" "${MYSQL_DATABASE}" < "/seed/${seed_dump}"