mpolinowski / material-ui-gatsby-wiki

A Wiki template using Gatsby.js, Elasticsearch and Material-UI

Home Page:https://wiki.instar.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to deploy on netlify?

broskees opened this issue · comments

Can I deploy the docker container and the node server for gatsby on netlify?

Hey @broskees,

I have not yet worked with Netlify. But as I understand it, it just offers an API that you can use to upload static content (so gatsby builds)?

https://www.netlify.com/with/gatsby/

To work with this container directly, you will need to ssh into a server and set up Docker there, push your image into a Docker Registry (e.g. Docker Hub) and then pull it from your server (that is what I am using).

But what you might be rather looking for, is a host that runs Kubernetes - Amazon, Google Cloud, Azure.. etc. Push your image into a Docker Registry and pull it into your Kubernetes Cluster and it will just work.

Elasticsearch or the Docker workflow only works if you have Kubernetes or your own server with root ssh login. But if you want to give Elasticsearch a try without having to set it up - check out Algolia. Basically Elasticsearch-as-a-Service.

Their free-tier was just a bit too limiting for my project ~ it might work for yours.