improvement(db): remove vercel, remove railway, remove crons, improve DB connection config (#1519)

* improvement(db): remove vercel, remove railway, remove crons, improve DB connection config

* remove NEXT_PUBLIC_VERCEL_URL

* remove db url fallbacks

* remove railway & more vercel stuff

---------

Co-authored-by: waleed <waleed>
This commit is contained in:
Waleed
2025-10-01 16:37:13 -07:00
committed by GitHub
parent 896f7bb0a0
commit 6e63eafb79
18 changed files with 11 additions and 118 deletions

View File

@@ -47,9 +47,7 @@ WORKDIR /app
# Provide dummy database URLs during image build so server code that imports @sim/db
# can be evaluated without crashing. Runtime environments should override these.
ARG DATABASE_URL="postgresql://user:pass@localhost:5432/dummy"
ARG POSTGRES_URL="postgresql://user:pass@localhost:5432/dummy"
ENV DATABASE_URL=${DATABASE_URL}
ENV POSTGRES_URL=${POSTGRES_URL}
RUN bun run build