ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.
Python ai-agentsamdcomfyuidockerllama-cppllmlocal-ain8nnvidiaopen-webuiragself-hostedspeech-to-textstrix-halotext-to-speechworkflow-automation
#!/bin/sh
set -eu
case "${HOPPSCOTCH_DB_PASSWORD:-}" in
''|*[!a-fA-F0-9]*) echo 'HOPPSCOTCH_DB_PASSWORD must be 64 hexadecimal characters' >&2; exit 1 ;;
esac
[ "${#HOPPSCOTCH_DB_PASSWORD}" -eq 64 ] || { echo 'HOPPSCOTCH_DB_PASSWORD must be 64 hexadecimal characters' >&2; exit 1; }
case "${DATA_ENCRYPTION_KEY:-}" in
''|*[!a-fA-F0-9]*) echo 'HOPPSCOTCH_ENCRYPTION_KEY must be 32 hexadecimal characters' >&2; exit 1 ;;
esac
[ "${#DATA_ENCRYPTION_KEY}" -eq 32 ] || { echo 'HOPPSCOTCH_ENCRYPTION_KEY must be 32 hexadecimal characters' >&2; exit 1; }
export DATABASE_URL="postgresql://hoppscotch:${HOPPSCOTCH_DB_PASSWORD}@hoppscotch-db:5432/hoppscotch"
unset HOPPSCOTCH_DB_PASSWORD
cd /dist/backend
pnpm exec prisma migrate deploy
exec node /usr/src/app/aio_run.mjs