Auto-indexing service and GraphQL API for AT Protocol Records
quickslice.slices.network/
atproto
gleam
graphql
1#!/bin/sh
2set -e
3
4if [ -n "$DATABASE_URL" ]; then
5 echo "Running database migrations..."
6 if echo "$DATABASE_URL" | grep -q "^postgres"; then
7 dbmate --wait --migrations-dir /app/db/migrations_postgres up
8 else
9 dbmate --wait up
10 fi
11 echo "Migrations complete."
12fi
13
14exec /app/entrypoint.sh "$@"