cultural_annotation / startup.sh
KlaudiaTH's picture
Create startup.sh
c91176e verified
raw
history blame contribute delete
278 Bytes
#!/bin/bash
set -e
echo "=== Database ==="
if [ -z "$ARGILLA_DATABASE_URL" ]; then
echo "ERROR: ARGILLA_DATABASE_URL secret is not set. Argilla will not start."
exit 1
fi
echo "Using external PostgreSQL (Neon)."
echo "=== Starting Argilla ==="
exec /home/argilla/start.sh