Installing via Docker
This document provides the necessary steps to install the FoloToy server on any system running Docker.
If you are running the FoloToy server on a home network, it is recommended to use this setup, otherwise your EMQX may be at risk. If you plan to expose EMQX directly to the internet, please refer to the Advanced Guide.
Before starting the deployment, please follow the instructions in Getting Started to prepare the VPS, docker-compose.yml, and roles.json.
Installation Instructions
Create a directory, for example, create a directory
folotoy-serverin your Home directorycd ~
mkdir folotoy-server
mkdir folotoy-server/config
# Or
# mkdir -p folotoy-server/configAll further operations will be carried out in the
folotoy-serverdirectoryCreate a
docker-compose.ymlfile and paste the prepared content into the fileCreate a
roles.jsonfile in the config directory and paste the prepared content into the fileStart the Docker container using the
docker compose upcommand. To run the container in the background, add the-dflag:docker compose up -d
Updating Server Image
To update the configuration of the running FoloToy server to the latest version, run the following commands:
docker compose pull folotoy
docker compose up folotoy -d