Installation Steps

1

Download the Docker Image

Pull the Docker image from Docker Hub:

Pull image
docker pull censedata/floating-server:latest
2

Create a Docker Network and Redis Volume

To ensure smooth communication between Redis and the Floating Server, set up a Docker network and a volume:

Create network and volume
docker network create fs-network
docker volume create redis
3

Run Redis in a Docker Container

Run Redis to serve as the database for the Floating Server:

Run Redis
docker run -d --net fs-network --name redis -p 6379:6379 -v redis:/data redis/redis-stack-server:latest
4

Create a Configuration File

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.

For more details on configuration options, visit the Configuration File section. For more details on configuration options, visit Configuration File.

5

Run the Floating Server in Docker

Launch the Floating Server by mounting the configuration file into the container:

Run Floating Server
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

Was this helpful?