Pull the Docker image from Docker Hub:
docker pull censedata/floating-server:latest
To ensure smooth communication between Redis and the Floating Server, set up a Docker network and a volume:
docker network create fs-network docker volume create redis
Run Redis to serve as the database for the Floating Server:
docker run -d --net fs-network --name redis -p 6379:6379 -v redis:/data redis/redis-stack-server:latest
Docker requires a config.yaml file for the server to operate. Place the config.yaml file in the directory where you will run the Docker container.
config.yaml
For more details on configuration options, visit the Configuration File section. For more details on configuration options, visit Configuration File.
Launch the Floating Server by mounting the configuration file into the container:
docker run -d --net fs-network --name floating-server -p 8080:8080 -v $PWD/config.yaml:/opt/server/config/config.yaml censedata/floating-server:latest
Last updated 25 days ago
Was this helpful?