-
Notifications
You must be signed in to change notification settings - Fork 11
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
CI: Deploy Docker Images on remote VM #31
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- prepare & copy .env file to server - pull and start container images
- pull,stop,start all containers - show docker logs
ensure configuring DATABASE_PORT in the .env file will reflect in the db port being changed as well as other services using the correct port
- add Dockerfile arg - set arg in github action through secret
f4675a8
to
adbbcb9
Compare
jomunker
reviewed
Jun 17, 2024
d6c46ec
to
5c7f0df
Compare
Co-authored-by: Johannes Munker <56400587+jomunker@users.noreply.github.com>
CMS_URL var configures the context path for the STRAPI CMS backend. It is required at build time in order to make STRAPI internal routes work. It is not needed in local development, as there no contextpath is required.
c63e5f7
to
520ab92
Compare
jomunker
approved these changes
Jun 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR sets up rudimentary deployment of the development branch to a remote VM
preview.vim.org
.Changes:
https://preview.vim.org/cms/admin/
is used in the repository var CMS_URLNot included:
https://preview.vim.org/cms/admin/content-manager/singleType/api::home.home
not reachablehttps://preview.vim.org/cms/admin/content-manager/collectionType/api::newspost.newspost
worksWhat type of PR is this? (check all applicable)