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

webcave: Move compose file to repo root #1

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

markoburcul
Copy link
Contributor

Move compose file for webcave server to repo root since it is needed by the infra role with which we will deploy it.

Referenced issue: https://github.com/status-im/infra-misc/issues/308

What does this PR resolve? 🚀

  • Deployment of the webcave server

Details 📝

The compose file is needed to be in the repo root so we can deploy the webcave server with infra role for docker compose.

Checklist ✅

  • [ x] I have merged the main branch into my branch and resolved all conflicts
  • I have documented the new code
  • I have smoke tested the new code locally
  • I have assigned the PR to myself
  • [x ] I have named the PR correctly

@markoburcul markoburcul requested a review from pajicf August 13, 2024 07:54
@markoburcul markoburcul force-pushed the adapt-repo-for-backend-deployment branch 2 times, most recently from 679b60b to 75316f9 Compare August 13, 2024 10:42
Move compose file for webcave server to repo root since it is needed by the  infra role with which we will deploy it.
Updated the compose file to be compatible with environment variable forwarding from the ansible role. Namely, we need
PORT, IS_BEHIND_PROXY and CLIENT_ORIGIN_URL to be read from environment of the process starting the containers. Also,
in the case these values are not present or empty, just use the default ones.
Update Readme file to reflect changes.

Referenced issue: status-im/infra-misc#308

Signed-off-by: markoburcul <[email protected]>
@markoburcul markoburcul force-pushed the adapt-repo-for-backend-deployment branch from 75316f9 to bdcefb4 Compare August 13, 2024 11:55
Copy link
Collaborator

@pajicf pajicf left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

Btw, feel free to make multiple commits in PRs in the future, no need to force push, we'll just squash it :)

Thanks for the PR!

@markoburcul markoburcul merged commit d1b04c7 into main Aug 13, 2024
2 checks passed
@markoburcul markoburcul deleted the adapt-repo-for-backend-deployment branch August 13, 2024 14:53
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