website logo
⌘K
Getting Started
Introduction
Basic Concepts
Opening an Account
Creating & Configuring Products
Integrating SDK and Configuring License Fulfillment
Activate a Key-Based License
Vendor Platform
Issuing New Licenses
License Detail View
Order Detail View
Customer Detail View
Metadata
Analytics
Settings
Product Configuration
Product Features
Product Custom Fields
Product Versioning
License Policies
Product Bundles
License Entitlements
License Types
Activations & Device Transfers
Features
Custom Fields
License Start Date
License Note
Maintenance Period
Trial Licenses
Floating Licenses
License Activation Types
Portals
End-User Portal
Offline Portal
Air-Gapped Portal
License API
License API Authorization
License Activation/Deactivation
License Check
Consumption
Floating
Trial Key
Product Details
Device Variables
Changing Password
Management API
Making API Requests
Management API Authorization
Customer
Product
Order
License
Device
Analytics
SDKs
Tutorials
.NET/C# SDK
.NET/C# Management SDK
C++ SDK
Java SDK
Python SDK
Go SDK
Delphi SDK
Swift/Objective-C SDK
Android SDK
Unity SDK
Errors and Response Codes
Floating Server
API Reference
Deployment
Configuration
Floating Server UI
Securing the Server
Whitelabeling
FAQ
Floating Server Changelog
Integrations
Salesforce
FastSpring
Stripe
Shopify
Common Scenarios
Single Sign On (SSO)
Glossary
General
SDK Glossary
Vendor Platform
Product Configuration Glossary
License Configuration
Postman Collections
Frequently Asked Questions
Changelog
License API changelog
Platform changelog
Docs powered by
Archbee
Floating Server
Deployment

Docker

2min

Below is the script that can be used to start Floating server locally. To add configuration to Floating server, create a file 'config.yaml' in the same directory as this script.

deploy-docker.sh
Shell
|
# create a new Docker volume to persist data for Redis
docker volume create redis

# create a Docker network to enable communication between Redis and the Floating server
docker network create fs-network

# start a Redis container
# '-p 6379:6379' opens a port for the redis database, this needs to be set in Floating server config
# '-p 8001:8001' opens a port for redis UI
# '-v redis:/data' persists data using the created volume
docker run -d --net fs-network --name redis -p 6379:6379 -p 8001:8001 -v redis:/data redis/redis-stack-server:latest

# start a Floating server container
# '-p 8080:8080' opens a port for communication with Floating server
# '-v $PWD:/opt/server/config/config.yaml' adds the config file to 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



Copy desired configuration into config.yaml and save it in working directory where you are running the script from above. Minimal configuration needed for this deployment:

config.yaml
YAML
|
redis:
  addresses:
    - redis:6379





Updated 05 Sep 2023
Did this page help you?
PREVIOUS
Kubernetes (Helm)
NEXT
Configuration
Docs powered by
Archbee
deploy-docker.sh
Docs powered by
Archbee