Compose brings up registry:3 plus a Prisma/SQLite Nuxt app for docker login, ACL management, and image browsing with shadcn-vue. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
268 B
Bash
Executable File
15 lines
268 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
mkdir -p /data
|
|
|
|
if [ -z "${DATABASE_URL:-}" ]; then
|
|
export DATABASE_URL="file:/data/registry-aio.db"
|
|
fi
|
|
|
|
echo "Running prisma migrate deploy..."
|
|
./node_modules/.bin/prisma migrate deploy
|
|
|
|
echo "Starting Nuxt..."
|
|
exec node .output/server/index.mjs
|