User authn & authz using FusionAuth for secure access management.
For a quick local setup.
cd docker && docker-compose pull
docker-compose up -d
- Open localhost:9011/
- Setup admin user.
- Create a fusionauth application.
- Edit the user and add a
registration
for the app just created.
- Open http://localhost:9011/admin/application/
- View the details of the created fusionauth application.
- Take note of
Client Id:
andClient secret:
cp .env.template .env
- Replace the values in
.env
with the values from the application.
npm i && npm start
- Open 127.0.0.1.nip.io:3000/
Deploy service dependencies.
Deploy bitnami/postgresql
helm chart with cloud.okteto.com catalog deployment using db-values.yaml template values.
Deploy elastic/elasticsearch
helm chart using es-values.yaml template values.
helm install elasticsearch elastic/elasticsearch \
--version 7.16.3 \
--values es-values.yaml
kubectl get pods --namespace=... -l app=elasticsearch-master -w
# NAME READY STATUS RESTARTS AGE
# elasticsearch-master-0 1/1 Running 0 20m
-
Deploy
fusionauth/fusionauth
helm chart using fa-values.yaml template values.helm install fusionauth-1.32.1 fusionauth/fusionauth \ --version '0.10.5' \ --values fa-values.yaml kubectl get pods -l app.kubernetes.io/name=fusionauth -w # NAME READY STATUS RESTARTS AGE # fusionauth-6b7775c49b-rj98p 1/1 Running 0 13m
-
Setup admin user.
-
Create a fusionauth application.
-
Edit the user and add a
registration
for the app just created. -
Update
.env
with values from the fusionauth application.
npm start
- Open 127.0.0.1.nip.io:3000/
- Elasticsearch Helm Chart v7.16.3
- FusionAuth Helm Chart v0.10.5
helm list
# NAME STATUS CHART APP VERSION
# elasticsearch deployed elasticsearch-7.16.3 7.16.3
# fusionauth-1.32.1 deployed fusionauth-0.10.5 1.30.1
# postgresql deployed postgresql-6.3.12 11.5.0