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-server
in 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-server
directoryCreate a
docker-compose.yml
file and paste the prepared content into the fileCreate a
roles.json
file in the config directory and paste the prepared content into the fileStart the Docker container using the
docker compose up
command. To run the container in the background, add the-d
flag: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