Draft
Conversation
cfu288
commented
Feb 12, 2023
| - dockerfile_path: Dockerfile | ||
| name: app | ||
| git: | ||
| branch: add-deploy-to-digital-ocean-button |
Author
There was a problem hiding this comment.
branch needs to be updated to main before merge
cfu288
commented
Feb 12, 2023
| name: app | ||
| git: | ||
| branch: add-deploy-to-digital-ocean-button | ||
| repo_clone_url: https://github.com/cfu288/fasten-onprem.git |
Author
There was a problem hiding this comment.
repo_clone_url needs to be updated to https://github.com/fastenhealth/fasten-onprem.git before merge
cfu288
commented
Feb 12, 2023
| COPY config.yaml /opt/fasten/config/config.yaml | ||
|
|
||
| CMD ["/opt/fasten/fasten", "start", "--config", "/opt/fasten/config/config.yaml"] | ||
| CMD ["/opt/fasten/fasten", "start", "--config", "/opt/fasten/config/config.yaml", "--debug"] |
Author
There was a problem hiding this comment.
--debug needs to be removed before merge
cfu288
commented
Feb 12, 2023
| </p> | ||
|
|
||
| <p align="center"> | ||
| <a href="https://cloud.digitalocean.com/apps/new?repo=https://github.com/cfu288/fasten-onprem/tree/add-deploy-to-digital-ocean-button"> |
Author
There was a problem hiding this comment.
href needs to be updated to https://cloud.digitalocean.com/apps/new?repo=https://github.com/fastenhealth/fasten-onprem/tree/main before deploy
Author
…R_KEY as it prevents the user from initially adding it
This file contains hidden or 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
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.

This PR adds a '1-click deploy to Digital Ocean' button to the README and adds a Digital Ocean app template to specify the ENV variables to use for the deploy.
Quick video of the flow. Note that DO by default does not pick their cheap $5 instance, but instead a $12 instance. You have to manually downgrade the instance.
Screen.Recording.2023-02-11.at.7.44.17.PM.mov
I need to remove the
--debugI added in from the Dockerfile and update the links from my fork to this repo before merging. The hard links are necessary for now in case anyone wants to test it, but the links should be updated to point at the main branch after testing.