inertiarobotics / inertia-rpi Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Need to separate dockerstart.sh for DEV versus PROD runs using some sort of env/running variable/paramater.
For productions you do not want to set sslRequired=NONE
Generate random passwords during docker builds and show it on terminal and save it onto a file in the docker host system
arm64 versions of ELK are available now.
https://www.docker.elastic.co/
We need to have a docker compose with these three
Once you have setup the realm online, There are two ways to export the JSON
1 Using this script inside the docker container while the Keycloak is running
/usr/local/bin/keycloak-13.0.0/bin/standalone.sh \
-Dkeycloak.migration.action=export \
-Dkeycloak.migration.provider=singleFile \
-Dkeycloak.migration.realmName=inertia-rpi-realm \
-Dkeycloak.migration.file=/tmp/inertia-rpi-realm.json
-Djboss.socket.binding.port-offset=99
Then use a sudo docker cp command to copy the file from inside the container to host.
2 On the realm setup page on Keycloak admin portal, there is an option to download.
Turn ON every option there. I think its a partial download, because the user details did not come through.
Option 1 is preferred.
https://stackoverflow.com/questions/60766292/how-to-get-keycloak-to-export-realm-users-and-then-exit
https://lists.jboss.org/pipermail/keycloak-user/2015-October/003210.html
Component Layer:
rest-api-node
-device
-remote
-provision
-certificate
Directory structure for each component:
src - api, config , dispatchers, interfaces, jobs, loaders, models, services, subscribers, types/express, app.ts
tests - services, sample.test.ts
.editorconfig
.env.example
.eslintignore
.eslintrc.js
.gitignore
.prettierrc.json
LICENSE
README.md
jest.config.js
nodemon.json
package-lock.json
package.json
tsconfig.json
/src/api - middlewares, routes, index.ts
https://www.baeldung.com/spring-boot-keycloak
Setup a realm and new user and then export it to a file. Dockerise the realm and user creation for repeatable installs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.