Overview & Installation

What is the Floating Server V2?

The Floating Server is LicenseSpring’s self-hosted licensing platform, providing the core features of the cloud platform locally. Version 2 introduces improved setup, configuration, and management workflows to make deployment, provisioning, and administration easier. This document focuses on v2, detailing installation, configuration, and best practices for running the Floating Server in your environment.

Key Highlights & Compatibility

Feature
Details

Supported Platforms

Windows and Linux

Supported SDKs (initial)

C++, .NET, Java (more coming)

Database Support

SQLite (dev/test), PostgreSQL (prod)-Production RecommendationPostgreSQL

Provisioning Options

Certificates or YubiKey tokens

Installation Options

1

Download the appropriate binary:

  • https://s3.eu-central-1.amazonaws.com/floating-server/floating-server-linux-amd-2.2.0.zip

  • https://s3.eu-central-1.amazonaws.com/floating-server/floating-server-windows-amd-2.2.0.zip

Unzip and run directly, no Docker required.

2

Docker Image

  • Pull the image from Docker Hub.

  • Run the container from the pulled image.

circle-info

The configuration file and provisioning steps are identical for both methods. The only difference with Docker is that you must mount the configuration and provisioning files so the container can access them.

Run Floating Server v2 with PostgreSQL and Docker

Create a shared network:

docker network create fsnet

Start PostgreSQL:

Start Postgres
docker run -d \
  --name fs-postgres \
  --network fsnet \
  -e POSTGRES_USER=fsuser \
  -e POSTGRES_PASSWORD=fspassword \
  -e POSTGRES_DB=fsdb \
  -v pgdata:/var/lib/postgresql/data \
  -p 5432:5432 \
  postgres:16

change the setting as needed.

Modify Floating Server config file:

Pull the Floating Server v2 image:

Run Floating Server v2

Mount the config file and the certs (certificates and private key generated in provisioning) folder from provisioning:

In this sample, we have assumed the config file is located in ./config and certificates and private key in ./certs.

Verify

  • Floating Server API: http://localhost:8080

  • Postgres: available at fs-postgres:5432 inside the Docker network

Docker Compose

The steps mentioned above are all included in the following docker compose file. Place this file in the directory with folders config and certs (config containing default.yaml and certs containing all the certificates and private key generated in provisioning), and then run:

Make any needed adjustments.

Was this helpful?