Merge pull request #37 from trails-cool/fix-production-deploy

Fix production deploy: TS support + DB schema
This commit is contained in:
Ullrich Schäfer 2026-03-25 01:27:01 +01:00 committed by GitHub
commit 1abcc5c804
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -108,8 +108,13 @@ jobs:
done
fi
# Pull latest images and restart
# Pull latest images
docker compose pull
# Push database schema (starts postgres, waits for healthy)
docker compose run --rm journal npx drizzle-kit push --config /app/packages/db/drizzle.config.ts --force
# Start all services
docker compose up -d --remove-orphans
# Verify services are running

View file

@ -30,4 +30,4 @@ COPY --from=build /app/packages ./packages
WORKDIR /app/apps/planner
EXPOSE 3001
ENV PORT=3001
CMD ["node", "server.ts"]
CMD ["node", "--experimental-strip-types", "server.ts"]