Skip to content
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

[Task] - Create Docker Compose File for data-river with Supabase Integration #138

Open
11 tasks
c0rtexR opened this issue Oct 14, 2024 · 0 comments
Open
11 tasks

Comments

@c0rtexR
Copy link
Contributor

c0rtexR commented Oct 14, 2024

Task Overview

Create a Docker Compose file that builds the latest version of data-river and connects it with Supabase. The setup should include two images: softfl0w/client:latest and softfl0w/landing-page:latest. The landing page and Supabase dashboard should both be optional services to run.

SMART Criteria

  • Specific 🎯

    • Create a Docker Compose file that builds the following services:
      • Client: softfl0w/client:latest
      • Landing Page: softfl0w/landing-page:latest (optional)
      • Supabase: Latest Supabase instance, with the dashboard as an optional service.
    • Ensure the services are connected, allowing softfl0w/client to interact with Supabase.
    • The landing page and Supabase dashboard should be optional to start.
  • Measurable 📏

    • The Docker Compose file should successfully build and run softfl0w/client with Supabase.
    • The services should run independently, allowing optional services (landing page and Supabase dashboard) to be toggled on/off as needed.
  • Achievable 🚀

    • Utilize existing Docker images and follow the provided Supabase documentation.
    • Set up networking between the services in Docker Compose.
    • Make use of conditional service definitions to make landing page and Supabase dashboard optional.
  • Relevant 🎯

    • This task is essential for simplifying local development and integration of data-river with Supabase, aligning with the goal of improving developer experience.
  • Time-bound

    • Complete the task within 2 days.

Subtasks 📝

  • Create Docker Compose file with softfl0w/client and Supabase services.
  • Add optional services: softfl0w/landing-page and Supabase dashboard.
  • Configure networking between softfl0w/client and Supabase.
  • Test the setup by running only the client and Supabase without the landing page.
  • Test the full setup by running all services.
  • Add environment variables and any required Supabase configuration for local development.
  • Document the usage of the optional services in the docker-compose.yml file.

Acceptance Criteria ✅

  • The Docker Compose file successfully builds softfl0w/client and connects it to Supabase.
  • The landing page and Supabase dashboard are optional and can be toggled off in the Compose file.
  • Networking between services is functional, allowing softfl0w/client to interact with Supabase.
  • Testing has been completed for both full and partial service setups.

Additional Notes 🗒

  • Resources:

  • Old docker compose:

    • The old docker compose is building from source, that is not something that people want if somehow we merged a bug that pipeline catches down the line in dev, it will not be in :latest image for new explorers.
@c0rtexR c0rtexR added this to the 0.1.0 milestone Oct 14, 2024
@github-project-automation github-project-automation bot moved this to Backlog in data-river Oct 14, 2024
@c0rtexR c0rtexR moved this from Backlog to Ready in data-river Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready
Development

No branches or pull requests

1 participant