From c429afc26aeeeace034c453cb70f597bb160b0c8 Mon Sep 17 00:00:00 2001 From: Daniel Siegl <41949368+danielsiegl@users.noreply.github.com> Date: Mon, 22 Apr 2024 14:13:03 +0200 Subject: [PATCH 1/3] Update On-premise-license-server.md #7 --- SmartGit/Latest/On-premise-license-server.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/SmartGit/Latest/On-premise-license-server.md b/SmartGit/Latest/On-premise-license-server.md index 134156d..20a1cf4 100644 --- a/SmartGit/Latest/On-premise-license-server.md +++ b/SmartGit/Latest/On-premise-license-server.md @@ -5,7 +5,8 @@ This will be especially important if the SmartGit installations of your users ar ## Requirements -To run our on-premise server, only Docker is required. This document describes how to set up the *On-premise License Server* in a plain docker environment. If you need to run the server in a more sophisticated environment, like in Kubernetes, please contact our support. Please also note, by default the *On-premise License Server* uses an embedded database that will store data in a volume. Running multiple instances of the *On-premise License Server* in a Kubernetes environment is not supported. +To run our on-premise server, only Docker on a Linux host is required. Testing on Docker Desktop on Windows is possible, but not recommended for production environments. +This document describes how to set up the *On-premise License Server* in a plain docker environment. If you need to run the server in a more sophisticated environment, like in Kubernetes, please contact our support. Please also note, by default the *On-premise License Server* uses an embedded database that will store data in a volume. Running multiple instances of the *On-premise License Server* in a Kubernetes environment is not supported. ## Server-side installation @@ -40,6 +41,8 @@ To run our on-premise server, only Docker is required. This document describes h 1. Prepare host directories for the Docker volumes 1. On the target server where the Docker image will be run, create a top-level directory `` which will contain the persistent data of the license server, for example, `/var/syntevo-license-server`. + + 1. In this directory, create a sub-directory named `data`. 1. In this directory, create a sub-directory named `licenses`. @@ -56,12 +59,20 @@ To run our on-premise server, only Docker is required. This document describes h ``` docker run --restart unless-stopped --name syntevo-license-server -d -v /var/syntevo-license-server/data:/data -v /var/syntevo-license-server/licenses:/licenses -p 8080:8080 ghcr.io/syntevo/license-opserver:latest ``` + + If you don't want to use the random password created on each startup we recommend setting a password with the docker run. + + ``` + docker run -e 'ADMIN_PASSWORD=admin' --restart unless-stopped --name syntevo-license-server -d -v /var/syntevo-license-server/data:/data -v /var/syntevo-license-server/licenses:/licenses -p 8080:8080 ghcr.io/syntevo/license-opserver:latest + ``` 1. Confirm that the license server has been properly started: ``` docker ps | grep syntevo-license-server ``` +2. You can also access the license server with your webbrowser - for the above docker run command the url would be [http://<dockerhost>:8080/](http://:8080/) User: admin Pwd: either set with docker run or the random password from the docker logs + ### Logs From 0437a714e25a3688e686ea90f9a7d1e96ce3f7d6 Mon Sep 17 00:00:00 2001 From: Daniel Siegl Date: Mon, 22 Apr 2024 15:18:08 +0200 Subject: [PATCH 2/3] More Updates on #7 --- SmartGit/Latest/On-premise-license-server.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SmartGit/Latest/On-premise-license-server.md b/SmartGit/Latest/On-premise-license-server.md index 20a1cf4..049ccc3 100644 --- a/SmartGit/Latest/On-premise-license-server.md +++ b/SmartGit/Latest/On-premise-license-server.md @@ -10,7 +10,7 @@ This document describes how to set up the *On-premise License Server* in a plain ## Server-side installation -1. Contact sales@syntevo.com and provide a short explanation of your environment and SmartGit setup to understand whether an on-premise license server will be appropriate for your company. +1. Contact and provide a short explanation of your environment and SmartGit setup to understand whether an on-premise license server will be appropriate for your company. 1. If appropriate, you will receive a new *on-premise license file* @@ -18,7 +18,7 @@ This document describes how to set up the *On-premise License Server* in a plain 1. Create a GitHub Personal Access Token to log in with Docker: - 1. Go to https://github.com/settings/tokens + 1. Go to 1. Click on **Generate Token** and select **Generate new token (classic)** @@ -60,7 +60,7 @@ This document describes how to set up the *On-premise License Server* in a plain docker run --restart unless-stopped --name syntevo-license-server -d -v /var/syntevo-license-server/data:/data -v /var/syntevo-license-server/licenses:/licenses -p 8080:8080 ghcr.io/syntevo/license-opserver:latest ``` - If you don't want to use the random password created on each startup we recommend setting a password with the docker run. + If you don't want to use the random password created on each startup we recommend setting a password with the docker run command, see the example below: ``` docker run -e 'ADMIN_PASSWORD=admin' --restart unless-stopped --name syntevo-license-server -d -v /var/syntevo-license-server/data:/data -v /var/syntevo-license-server/licenses:/licenses -p 8080:8080 ghcr.io/syntevo/license-opserver:latest From 890ebc19af81c58f8c3c42f792adbf8356ce39e5 Mon Sep 17 00:00:00 2001 From: Daniel Siegl <41949368+danielsiegl@users.noreply.github.com> Date: Mon, 22 Apr 2024 16:57:37 +0200 Subject: [PATCH 3/3] Update On-premise-license-server.md --- SmartGit/Latest/On-premise-license-server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartGit/Latest/On-premise-license-server.md b/SmartGit/Latest/On-premise-license-server.md index 049ccc3..872a429 100644 --- a/SmartGit/Latest/On-premise-license-server.md +++ b/SmartGit/Latest/On-premise-license-server.md @@ -71,7 +71,7 @@ This document describes how to set up the *On-premise License Server* in a plain ``` docker ps | grep syntevo-license-server ``` -2. You can also access the license server with your webbrowser - for the above docker run command the url would be [http://<dockerhost>:8080/](http://:8080/) User: admin Pwd: either set with docker run or the random password from the docker logs +2. You can also access the license server with your webbrowser - for the above docker run command the url would be [http://<dockerhost>:8080/](http://:8080/) User: admin Pwd: either set with docker run or the random password from the docker logs - See [Reporting](#reporting) ### Logs