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

Ntrnl 493 add new docker compose configuration #23

Merged
merged 4 commits into from
Jun 24, 2024

Conversation

DanielMurray97
Copy link
Contributor

JIRA link

Resolves NTRNL-493

Description

The issue is related to the mounting of the volume in the compose file, we need to mount the volume in order for nodemon to work correctly in dev mode. However, we can not have this happen in the production side of the application.

Action

  • Add docker-compose.override file with volume mounting config for dev mode.

  • docker-compose in root now acts as the base configuration with docker-compose-override extending it conditionally.

  • Add conditional logic to Makefile, which runs dev or prod on make docker-up depending on the env variable NODE_ENV

  • Remove quotes from .env.example to match Makefile

  • Tests added where applicable

  • No vulnerability added

Copy link

github-actions bot commented Jun 20, 2024

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 100% 153/153
🟢 Branches 94.12% 16/17
🟢 Functions 100% 15/15
🟢 Lines 100% 138/138

Test suite run success

29 tests passing in 17 suites.

Report generated by 🧪jest coverage report action from fb9ec97

Copy link
Contributor

@Mouhajer-CO Mouhajer-CO left a comment

Choose a reason for hiding this comment

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

👍

@DanielMurray97 DanielMurray97 merged commit 221397e into main Jun 24, 2024
7 checks passed
@DanielMurray97 DanielMurray97 deleted the NTRNL-493-add-new-docker-compose-configuration branch June 24, 2024 13:29
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.

2 participants