Skip to content

Ephemeral instances for ssh and web#49

Draft
Monster0506 wants to merge 88 commits into
developfrom
feat/ssh-instances
Draft

Ephemeral instances for ssh and web#49
Monster0506 wants to merge 88 commits into
developfrom
feat/ssh-instances

Conversation

@Monster0506

@Monster0506 Monster0506 commented Jul 22, 2026

Copy link
Copy Markdown
Member

Below is written by copilot 👇

This pull request introduces several significant changes focused on modernizing the development environment, improving database schema management, and enhancing infrastructure for container orchestration and image registry. The major themes are migration to Bun as the main JavaScript runtime, database schema updates, and expanded Docker Compose orchestration.

Database Schema and Migrations

  • Added new Drizzle migration files for event configuration, SSH/web instance session tracking, and challenge image references, and updated the migration journal.
  • Added a dedicated migration service and Dockerfile for running Drizzle migrations in the deployment pipeline.
  • Updated drizzle.config.ts to remove debug logging and set ssl: false for the database connection.

Docker Compose Orchestration Enhancements

  • Introduced new services in docker-compose.yml for a Docker socket proxy, SSH orchestrator, and migration runner, with appropriate networks and environment variables for orchestration and image registry access.
  • Added a standalone Docker Compose file for a local Docker registry with authentication support.

Infrastructure and Build Improvements

  • Refactored the main app and handler Dockerfiles for multi-stage builds, reducing unnecessary dependencies and improving build performance.
  • Cleaned up Postgres initialization scripts and removed hardcoded SQL seeding in favor of Drizzle migrations.

UI/Frontend Updates

  • Improved color scheme handling for light and dark modes in src/app.css.
  • Enhanced the authentication client setup to use the inferAdditionalFields plugin for better type inference.

Migration to Bun Runtime

  • Replaced Node.js with Bun as the primary JavaScript runtime for the main app and handler, updating Dockerfile, handler/Dockerfile, and related supervisor configs to use Bun for installing dependencies and running the server.
  • Updated development instructions and scripts to use Bun instead of npm, including changes in README.md and package.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant