Skip to content

Feat/docker compose coolify #245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

KB01111
Copy link

@KB01111 KB01111 commented May 21, 2025

This pull request introduces several changes to improve the deployment process, enhance configuration options, and fix minor issues in the codebase. The most significant updates include adding Docker support for local development and deployment, updating environment variables for better clarity and functionality, and fixing a bug in date parsing. Below is a summary of the most important changes:

Deployment Enhancements

  • Added a Dockerfile for building and running the web application in a production-ready environment, including a health check and a non-root user setup for security. (apps/web/Dockerfile)
  • Introduced a docker-compose.yml file to orchestrate the web application and a DragonflyDB service, simplifying local development and deployment. (docker-compose.yml)

Configuration Improvements

  • Updated .env.example to include detailed comments and new environment variables for DragonflyDB and demo mode, improving clarity and usability. (apps/web/.env.example) [1] [2]

Documentation Updates

  • Added a new section in the README.md with instructions for deploying the application using Docker Compose and platforms like Coolify. (README.md)

Bug Fixes

  • Fixed a bug in unknownToPrettyDate to ensure proper date parsing by validating the Date object creation. (apps/web/src/components/agent-inbox/utils.ts)
  • Corrected a typo in a comment to clarify the purpose of the refreshAgentsLoading flag. (apps/web/src/providers/Agents.tsx)

Workflow Adjustment

  • Updated the CI workflow to check spelling in the correct directory (apps/web/src instead of apps/src). (.github/workflows/ci.yml)

KB01111 and others added 14 commits May 21, 2025 01:51
Co-authored-by: entelligence-ai-pr-reviews[bot] <174136889+entelligence-ai-pr-reviews[bot]@users.noreply.github.com>
Co-authored-by: entelligence-ai-pr-reviews[bot] <174136889+entelligence-ai-pr-reviews[bot]@users.noreply.github.com>
Co-authored-by: entelligence-ai-pr-reviews[bot] <174136889+entelligence-ai-pr-reviews[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
…docker-compose

Add Docker Compose deployment configuration
Co-authored-by: entelligence-ai-pr-reviews[bot] <174136889+entelligence-ai-pr-reviews[bot]@users.noreply.github.com>
…ra-kod

Update env template and docs for Supabase setup
Adds DragonflyDB to the Docker Compose setup and updates documentation for easier deployment on platforms like Coolify.

Key changes:
- Modified `docker-compose.yml`:
    - Added a `dragonflydb` service (Redis-compatible) with a persistent volume.
    - Made the `web` service depend on `dragonflydb`.
    - Corrected YAML syntax and updated version to '3.8'.
- Updated `apps/web/.env.example`:
    - Included `NEXT_PUBLIC_SUPABASE_URL`, `NEXT_PUBLIC_SUPABASE_ANON_KEY`, and `NEXT_PUBLIC_DEPLOYMENTS`.
    - Added placeholder environment variables for DragonflyDB connection (`DRAGONFLYDB_HOST`, `DRAGONFLYDB_PORT`, `DRAGONFLYDB_PASSWORD`).
- Updated `README.md`:
    - Revised the "Docker Compose Deployment" section.
    - Added instructions for local development with Docker Compose.
    - Provided specific guidance for deploying with Coolify, emphasizing environment variable management through the Coolify dashboard.

These changes make your project more convenient to deploy using Docker Compose, especially on PaaS solutions like Coolify, by including a caching layer and providing clearer instructions.
Copy link

vercel bot commented May 21, 2025

@google-labs-jules[bot] is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

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