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

Add deploy to digital ocean button #66

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
14 changes: 14 additions & 0 deletions .do/deploy.template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
spec:
name: fasten-onprem
services:
- dockerfile_path: Dockerfile
name: app
git:
branch: add-deploy-to-digital-ocean-button
Copy link
Author

@cfu288 cfu288 Feb 12, 2023

Choose a reason for hiding this comment

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

branch needs to be updated to main before merge

repo_clone_url: https://github.com/cfu288/fasten-onprem.git
Copy link
Author

@cfu288 cfu288 Feb 12, 2023

Choose a reason for hiding this comment

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

repo_clone_url needs to be updated to https://github.com/fastenhealth/fasten-onprem.git before merge

envs:
- key: FASTEN_ENV
scope: BUILD_TIME
value: prod
- key: FASTEN_JWT_ISSUER_KEY
scope: RUN_TIME
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ a CDN or minimal Nginx deployment.


### How do I change the default encryption key and admin credentials
- FASTEN_ISSUER_JWT_KEY
- FASTEN_JWT_ISSUER_KEY


### Generate JWT for local use
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ COPY --from=backend-build /go/bin/fasten /opt/fasten/fasten
COPY LICENSE.md /opt/fasten/LICENSE.md
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"]
Copy link
Author

Choose a reason for hiding this comment

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

--debug needs to be removed before merge




Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
</a>
</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">
Copy link
Author

@cfu288 cfu288 Feb 12, 2023

Choose a reason for hiding this comment

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

href needs to be updated to https://cloud.digitalocean.com/apps/new?repo=https://github.com/fastenhealth/fasten-onprem/tree/main before deploy

<img src="https://www.deploytodo.com/do-btn-blue.svg" alt="Deploy to DO">
</a>
</p>

# Fasten - On Premise/Self-Hosted

[![CI](https://github.com/fastenhealth/fasten-onprem/actions/workflows/ci.yaml/badge.svg)](https://github.com/fastenhealth/fasten-onprem/actions/workflows/ci.yaml)
Expand Down