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

deployment fixes #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

deployment fixes #44

wants to merge 1 commit into from

Conversation

Sakue34
Copy link
Collaborator

@Sakue34 Sakue34 commented Jun 15, 2022

Various fixes and changes in preparation for Digital Ocean deployment

@Sakue34 Sakue34 requested a review from mwidera June 15, 2022 11:51
Copy link
Collaborator

@mwidera mwidera left a comment

Choose a reason for hiding this comment

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

Approved, but some conserns about the DigitalOcean raised as a comment

Edit: Please fix the frontend tests 😅

Comment on lines +1 to +4
const BackendURL =
'https://monkfish-app-i4ovz.ondigitalocean.app/docker-backend/mortgageCalculator';
const wiborChartURL =
'https://monkfish-app-i4ovz.ondigitalocean.app/docker-backend/wiborChart';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not quite sure whether this is a correct way to hardcode URL for frontend endpoints for DigitalOcean
I guess looking at a documentation my suggestion here would be to introduce it as a docker image environment variable: https://docs.digitalocean.com/products/app-platform/how-to/use-environment-variables/
But as long as it works it's fine with me, and you can ignore this comment

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