Skip to content

Ory Hydra OAuth 2.0 and Account Service deploy to kubernetes. Microservice.

Notifications You must be signed in to change notification settings

M3ikShizuka/k8s-microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices

Note

The main way to build and run a project is by using Makefiles.
Examine the contents of the Makefile file, in the root directory of the project, to understand what is going on and how.

Some files are pre-processed by envsubst to use .env.

Concept

OAuth Ory-Hydra use concept

More tech details:

Pre-Install

Configurations

(Change the parameters here when used in production)

Fast run by Kubernetes (kind)

  1. Duplicate .env.example and rename to .env. Change the paths to the hydra src directory and the service-account src directory.
  2. Build docker images.
make k8s-kind-build
  1. Fast create cluster, load the built local images to kind, and run.
make k8s-kind-fast
  1. Open in browser: http://account.localhost/