This repository was archived by the owner on Feb 15, 2026. It is now read-only.
Merged
Conversation
This was referenced Jan 29, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This was referenced Jan 29, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Repository owner
locked and limited conversation to collaborators
Jan 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces major improvements to the project's Dockerization, environment configuration, database migration handling, and developer workflow automation. It adds a complete Docker build and runtime setup, an automated migration runner for Drizzle ORM, a robust entrypoint script, and a sample GitHub Actions workflow for CI/CD. Additionally, it clarifies and expands the
.env.exampleand updates dependencies for better compatibility and security.Dockerization and Deployment Automation
Dockerfilewith multi-stage build, runtime environment, and copy/setup of all required assets for production deployment.docker-entrypoint.shto handle permissions, ensure required files (likePJSe.json) are present, wait for Postgres readiness, and run as the correct user..dockerignorefile to optimize Docker builds by excluding unnecessary files and directories.Database and Migrations
runMigrationsfunction insrc/lib/server/postgresql/db.tsto automatically apply Drizzle SQL migrations at startup, and integrated it into the server initialization flow. [1] [2] [3].env.examplewith detailed comments, secure defaults, and clarified required vs. optional settings for database, Redis, and server configuration.CI/CD and Workflow Enhancements
.github/workflows/workflow.yml) to automate building and pushing Docker images to GHCR on relevant branch pushes.Dependency Updates
package.json(including Svelte, Drizzle, ORPC, Tailwind, and others) for improved stability, security, and feature support.Other Notable Improvements
src/lib/server/rpc/public/users.tsto automatically create the first user as an admin if no users exist.exchanges/PJSe.jsonto update trading session times for more realistic or extended trading hours. [1] [2]These changes collectively make the project easier to deploy, maintain, and develop in modern environments.
References: