Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant