Code Monkey home page Code Monkey logo

cf-jetbrains-license-server's Introduction

JetBrains License Server for Cloud Foundry

Test Publish

This repository contains the license server for JetBrains products, configured to be hosted on Cloud Foundry.

Deployment

For deployment on Cloud Foundry the following command.

cf push jetbrains-license-server \
-o lgohr/cf-jetbrains-license-server \
-m 1024M \
-k 512M

Hint: This command assumes, that you are logged in to Cloud Foundry and that the Docker Support is enabled.

Registration

Sadly Jetbrains License server doesn't provide an official way to configure the License Server with a license. Nevertheless this deployment can be configured to do so. In this way the environment variables USER, PASSWORD and SERVER_NAME have to be configured.
This can be done via Manifest on Deployment, as there is no other way on cf push right now.

applications:
- name: jetbrains-license-server
  instances: 1
  memory: 1024M
  disk_quota: 512M
  docker:
    image: lgohr/cf-jetbrains-license-server
  env:
    JETBRAINS_USERNAME: {USERNAME_FOR_JETBRAINS}
    JETBRAINS_PASSWORD: {PASSWORD_FOR_JETBRAINS}
    SERVER_NAME: {SERVER_NAME}

You could also push the app and configure the environment variables afterwards via cf set-env In the case that you configured it via cf set-env, you have to cf restage the application afterwards.

Variable What's that?
JETBRAINS_USERNAME Email or Username from https://account.jetbrains.com/login
JETBRAINS_PASSWORD Password from https://account.jetbrains.com/login
SERVER_NAME see bellow
HTTPS_PROXYHOST (optional) The proxy host (e.g. myCompany.proxy) without protocol
HTTPS_PROXYPORT (optional) The proxy port (e.g. 8080)
HTTPS_PROXYUSER (optional) If the proxy is secured, this is the user
HTTPS_PROXYPASSWORD (optional) If the proxy is secured, this is the password

Hint: Please make sure that floating server is enabled for your account (check with [email protected]).

When you do the manual registration flow, after logging in, you'll be redirected to https://account.jetbrains.com/server-registration

This site looks like:

JetBrains License Server

You already have license server set up. Would you like to re-use that or create new one?

[O] SERVER_NAME: SERVER_ID
[ ] SERVER_NAME: SERVER_ID
[ ] SERVER_NAME: SERVER_ID
[ ] New Server Registration

[SUBMIT]

As you can see, the SERVER_NAME must be a unique string.
Don't try to use the SERVER_ID, because this will change every time you register a new Server!

cf-jetbrains-license-server's People

Contributors

dependabot[bot] avatar elgohr avatar kruspe avatar renovate-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.