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 Google Cloud Run Button #399

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ There are a few limitations when deploying to Heroku.
- The registry will only work with [native configuration](https://www.jhipster.tech/jhipster-registry/#spring-cloud-config) (and not Git config).
- The registry service cannot be scaled up to multiple dynos to provide redundancy. You must deploy multiple applications (i.e. click the button more than once). This is because Eureka requires distinct URLs to synchronize in-memory state between instances.

## Deploy to Google Cloud Platform (GCP)

Click the below button to deploy your own instance of the JHipster Registry to GCP:

[![Run on Google Cloud](https://deploy.cloud.run/button.svg)](https://deploy.cloud.run)

## Running locally

To run the cloned repository;
Expand Down
7 changes: 2 additions & 5 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"env": {
"JHIPSTER_PASSWORD": {
"description": "Admin password for the registry (used to login after clicking 'View App'). Must be at least 5 characters.",
"required": "true"
"required": true
},
"JAVA_OPTS": {
"description": "Java runtime options.",
Expand All @@ -20,8 +20,5 @@
"value": "5.0.2"
}
},
"buildpacks": [
{"url": "heroku/jvm"},
{"url": "https://github.com/jhipster/jhipster-registry-buildpack"}
]
"buildpacks": [{ "url": "heroku/jvm" }, { "url": "https://github.com/jhipster/jhipster-registry-buildpack" }]
}