8000 fix: local docker updates and type fixes by seanmalbert · Pull Request #4827 · bloom-housing/bloom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: local docker updates and type fixes #4827

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 6 commits into
base: main
Choose a base branch
from
Open

Conversation

seanmalbert
Copy link
Collaborator
@seanmalbert seanmalbert commented Apr 22, 2025

Address #4698 specifically #4998

Description

This PR adds the ability to run Bloom Housing via docker with docker compose. While setting this up, I updated the prisma version, which allowed me to encounter two bugs that were earlier surfaced by a JTC fellow: a type errors in api/src/services/auth.service.ts and api/src/utilities/model-fields.ts.

How Can This Be Tested/Reviewed?

Instructions for using this docker locally can be found in docker.md

This was only tested on my computer which is an M2 mac. Follow the instructions in docker.md to run both just the postgres instance and all applications.

For people that run into the same mac issues I had take note of the env variable changes required:

  • DATABASE_URL=postgresql://postgres:prisma@docker.for.mac.host.internal:5433/bloom_prisma in the api .env file
  • BACKEND_API_BASE=http://docker.for.mac.host.internal:3100 in the public and partners .env files

Author Checklist:

  • Added QA notes to the issue with applicable URLs
  • Reviewed in a desktop view
  • Reviewed in a mobile view
  • Reviewed considering accessibility
  • Added tests covering the changes
  • Made corresponding changes to the documentation
  • Ran yarn generate:client and/or created a migration when required

Review Process:

  • Read and understand the issue
  • Ensure the author has added QA notes
  • Review the code itself from a style point of view
  • Pull the changes down locally and test that the acceptance criteria is met
  • Either (1) explicitly ask a clarifying question, (2) request changes, or (3) approve the PR, even if there are very small remaining changes, if you don't need to re-review after the updates

Copy link
netlify bot commented Apr 22, 2025

Deploy Preview for bloom-public-seeds ready!

Name Link
🔨 Latest commit 2d01228
🔍 Latest deploy log https://app.netlify.com/projects/bloom-public-seeds/deploys/6852cddbffee5b00082df93d
😎 Deploy Preview https://deploy-preview-4827--bloom-public-seeds.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
netlify bot commented Apr 22, 2025

Deploy Preview for partners-bloom-dev ready!

Name Link
🔨 Latest commit 2d01228
🔍 Latest deploy log https://app.netlify.com/projects/partners-bloom-dev/deploys/6852cddbc947c9000862b403
😎 Deploy Preview https://deploy-preview-4827--partners-bloom-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
netlify bot commented Apr 22, 2025

Deploy Preview for bloom-exygy-dev ready!

Name Link
🔨 Latest commit 2d01228
🔍 Latest deploy log https://app.netlify.com/projects/bloom-exygy-dev/deploys/6852cddb5f2a650008a3251c
😎 Deploy Preview https://deploy-preview-4827--bloom-exygy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
netlify bot commented Jun 17, 2025

Deploy Preview for bloom-lakeview ready!

Name Link
🔨 Latest commit 2d01228
🔍 Latest deploy log https://app.netlify.com/projects/bloom-lakeview/deploys/6852cddbab6d2a0008988977
😎 Deploy Preview https://deploy-preview-4827--bloom-lakeview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ludtkemorgan ludtkemorgan force-pushed the docker-updates branch 3 times, most recently from 1d887af to fb65067 Compare June 17, 2025 14:28
@ludtkemorgan ludtkemorgan changed the title Docker updates and type fixes fix: local docker updates and type fixes Jun 17, 2025
@ludtkemorgan ludtkemorgan marked this pull request as ready for review June 18, 2025 14:36
@ludtkemorgan ludtkemorgan added the 2 reviews needed Requires 2 more review before ready to merge label Jun 18, 2025
@@ -1,29 +1,74 @@
import { randomUUID } from 'node:crypto';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: everywhere else we import, it's just from 'crypto'

@mcgarrye
Copy link
Collaborator

Does this docker setup all for the docker files to pickup live development changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 reviews needed Requires 2 more review before ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0