Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

Joseki.jl is not longer supported, and the instructions below may no longer work due to updates to GCP. Use at your own risk!

Deploying Joseki APIs on Google Cloud Platform's Cloud Run

This example roughly follows the instructions here. You may need to go through the "Before you begin" steps there.

Building the container

Assuming your project is called joseki and you want to deploy the project as simple_joseki_server you can use the Google cloud SDK to submit and build the container remotely:

gcloud builds submit --tag gcr.io/joseki/simple_joseki_server

Alternatively, you can build locally:

docker build . --tag gcr.io/joseki/simple_joseki_server
docker push gcr.io/joseki/simple_joseki_server

After either method finishes, you can deploy the result with:

gcloud run deploy --image gcr.io/joseki/simple_joseki_server --platform managed --memory 512Mi

Make sure to answer Y to the "Allow unauthenticated invocations to...". It should report a URL that you can go to and see that the API is working.

Disclaimer

The primary author of this package was a Google employee, but this is not an official Google product or endorsed by Google in any way.

About

Sample deployment of Joseki on Google Cloud Platform

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages