feat: rebuild workshop

This commit is contained in:
Thomas Camlong committed 2026-07-13 19:24:31 +02:00
1 parent ba7718bde5
commit 9037da96b5
42 files changed
+3436 -2

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
set -eu
chown -R pocketbase:pocketbase /pb_data
if [ -n "${PB_SUPERUSER_EMAIL:-}" ] && [ -n "${PB_SUPERUSER_PASSWORD:-}" ]; then
su-exec pocketbase pocketbase superuser upsert "${PB_SUPERUSER_EMAIL}" "${PB_SUPERUSER_PASSWORD}" --dir=/pb_data
fi
exec su-exec pocketbase pocketbase serve \
--http=0.0.0.0:8090 \
--dir=/pb_data \
--hooksDir=/pb_hooks \
--migrationsDir=/pb_migrations