Please see https://github.com/mapic/shiny for usage instructions.
git clone https://github.com/mapic/shiny-floating-license-server.docker.git
cd docker.shiny-floating-license-server
- Add your floating license key to
.key
file in the root folder, like so:
echo "MY-FLOATING-KEY" > ".key"
- Adjust configuration in
ssp-license-server.conf
as needed. (Note that if you change theport
, the port must beEXPOSE
d in the Dockerfile) - Build the Docker image:
bash build.sh
Start the license server:
bash start-server.sh
This should activate your floating license server with your key. The running server is available on port 8979 by default.
Stop the license server:
bash stop-server.sh
The start-server.sh script will automatically create a Docker Bridge network called shiny-network
. You can use this network in your Docker Compose or other configuration to access the floating license container.
You can therefore access the container at shiny-floating-license-server:8979
from any other container connected to the shiny-network
Docker network.