FastyBird IoT MiniServer application
This package is auto-updated.
Last update: 2022-08-15 08:37:13 UTC
FastyBird MiniServer is tested against PHP 7.4, Redis 6.2.2 in-memory data store, MySQL relational database management system, ReactPHP http 0.8 event-driven, streaming plaintext HTTP server and Nette framework 3.0 PHP framework for real programmers.
NOTE: If you don't want to install it manually, try docker image
composer create-project --no-dev fastybird/miniserver path/to/install
Everything required will be then installed in the provided folder
You have two options how to run this app
All what you need is just run one console command:
This command will start build in web server which is listening for incoming http api request messages from clients.
In this folder is main entry point for accessing application api.
Docker image: fastybird/miniserver
docker run -d -it --name devices fastybird/miniserver:latest
docker build --tag=miniserver .
docker run -d -it --name miniserver miniserver
This application is preconfigured for default connections, but your infrastructure could be different.
Configuration could be made via environment variables:
||MySQL server version|
||MySQL host address|
||MySQL access port|
||MySQL database name|
||Redis server host address|
||Redis server access port|
||Redis server username|
||Redis server password|
||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 create configuration file
./config/local.neonand put your settings here.
This application is using database, and need some initial data to be inserted into it. This could be done via shell command:
This console command is interactive and will ask for all required information.
After this steps, application could be started with server command
Thank you for testing, reporting and contributing.
For release info check release page