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

chore: Use docker compose for building the app. #285

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

Conversation

EvalVis
Copy link

@EvalVis EvalVis commented Mar 23, 2024

I find it convenient for newcomers to use one docker compose command to launch the app and so they can start contributing more quickly.

Checklist:

I find it convenient for newcomers to use one docker compose command to launch the app and so they can start contributing more quickly.
@EvalVis EvalVis requested review from a team as code owners March 23, 2024 15:43
@EvalVis
Copy link
Author

EvalVis commented Mar 23, 2024

Hi @ojeytonwilliams I have simplified project's setup. Can you review?

image: postgres
ports:
- "5432:5432"
env_file:
Copy link
Author

Choose a reason for hiding this comment

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

Is this needed? In master's README.md https://github.com/freeCodeCamp/event-calendar/blob/main/README.md it is said to run: docker run --name tech-event-calendar-db --env-file .env -p 5432:5432 -d postgres which is translated here. However, I think .env is for Next.js not postgres and therefore is not needed.

…ter database has loaded with docker compose.
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.

None yet

1 participant