fix(matomo,papermark,slink): fix db access, creds path, build env, sqlite create

- matomo: move creds to /root/matomo.creds (out of webroot), keep tests/ dir,
  block dotfiles in Caddy (@blocked /.* pattern)
- papermark: add NEXT_PUBLIC_APP_BASE_HOST and NEXT_PUBLIC_WEBHOOK_BASE_HOST
  placeholder env vars to prevent undefined 'value' in has:host routes
  causing Next.js build failure
- slink: replace doctrine:database:create with touch for SQLite (getCreateDatabaseSQL
  not supported by SQLitePlatform)
This commit is contained in:
CanbiZ (MickLesk)
2026-04-17 08:10:20 +02:00
parent efaeefd22d
commit b3691c0037
4 changed files with 9 additions and 28 deletions

View File

@@ -60,8 +60,8 @@ $STD composer install --no-dev --optimize-autoloader --no-interaction
mkdir -p /opt/slink/{data,images}
sed -i "s|'/services/api/|'/opt/slink/services/api/|" config/migrations/event_store.yaml
php bin/console lexik:jwt:generate-keypair --skip-if-exists >/dev/null 2>&1 || true
$STD php bin/console doctrine:database:create --connection=event_store --no-interaction
$STD php bin/console doctrine:database:create --connection=read_model --no-interaction
touch /opt/slink/services/api/var/data/slink_store.db
touch /opt/slink/services/api/var/data/slink.db
$STD php bin/console doctrine:migrations:migrate --no-interaction --em=read_model
$STD php bin/console doctrine:migrations:migrate --no-interaction --configuration=config/migrations/event_store.yaml --em=event_store
$STD php bin/console messenger:setup-transports --no-interaction