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

Inject CONTEXT_PATH variables defined in .env to images for reverse proxy routing #3226

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

RtiM0
Copy link
Contributor

@RtiM0 RtiM0 commented Apr 17, 2023

What change does this PR introduce?

The proposed modification aims to inject the *CONTEXT_PATH variables defined in the .env file into the images.

Why was this change needed?

The deployment docker-compose file was not including the environment variables required to set the CONTEXT_PATH feature, which created a problem for those who wanted to use routes with a reverse proxy such as Nginx instead of having separate subdomains for each app. The proposed modification addresses this issue by ensuring that the necessary environment variables are included in the deployment file.

https://discord.com/channels/895029566685462578/1097448355237462017

Inject the *CONTEXT_PATH environment variables to the images
Copy link
Contributor

@p-fernandez p-fernandez left a comment

Choose a reason for hiding this comment

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

We might need also to add context path for the new Worker app we are splitting from the API app.
CC: @scopsy @Cliftonz @LetItRock I found this ok but might need to wait for the Worker app.

@LetItRock
Copy link
Contributor

We might need also to add context path for the new Worker app we are splitting from the API app. CC: @scopsy @Cliftonz @LetItRock I found this ok but might need to wait for the Worker app.

@p-fernandez the worker app is not exposed to the outside, it's like internal app without APIs

@p-fernandez p-fernandez added this pull request to the merge queue Apr 21, 2023
Merged via the queue into novuhq:next with commit e300685 Apr 21, 2023
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants