Adding custom microservices¶
If you’re thinking about adding a new microservice to your existing Hasura project, pick up one of the following guides:
- Using a template:
- Ideal for webapps, APIs, static file-hosting
- Use this if you don’t know how to use a Dockerfile
- Using your own Dockerfile and source-code
- Using an existing Docker image
This is what your project directory might look like once you’ve added a microservice called <my-microservice>
:
├── microservices/
└── <my-microservice>/ # a new directory containing microservice code/config
├── k8s.yaml
├── Dockerfile
└── src/
└── conf/
├── routes.yaml # a new route entry in this file
└── ci.yaml # a new entry here to enable git-push
Was this page helpful?