FastyBird IoT auth node for users storage & basic logic services
This package is auto-updated.
Last update: 2021-11-22 11:42:39 UTC
Auth node is a microservice for managing application accounts & sessions.
NOTE: If you don't want to install it manually, try docker image
$ composer create-project --no-dev fastybird/auth-node path/to/install $ cd path/to/install
Everything required will be then installed in the provided folder
This microservice has several console command.
$ vendor/bin/fb-console fb:web-server:start
This command is to start build-in web server which is listening for incoming http api request messages from clients and is listening for new data from exchange bus from other microservices.
Docker image: fastybird/auth-node
$ docker run -d -it --name auth fastybird/auth-node:latest
$ docker build --tag=auth-node . $ docker run -d -it --name auth-node auth-node
This microservice is preconfigured for default connections, but your infrastructure could be different.
Configuration could be made via environment variables:
||RabbitMQ host address|
||RabbitMQ access port|
||MySQL server version|
||MySQL host address|
||MySQL access port|
||MySQL database name|
||HTTP server host address|
||HTTP server access port|
||Security token signature string|
NOTE: In case you are not using docker image or you are not able to configure environment variables, you could edit configuration file
This microservice is using database, and need some initial data to be inserted into it. This could be done via shell command:
$ vendor/bin/fb-console fb:initialize
This console command is interactive and will ask for all required information.
After this steps, microservice could be started with server command
Thank you for testing, reporting and contributing.
For release info check release page