{"id":13442979,"url":"https://github.com/crazy-max/docker-jetbrains-license-server","last_synced_at":"2025-04-15T02:16:31.822Z","repository":{"id":37664758,"uuid":"119823671","full_name":"crazy-max/docker-jetbrains-license-server","owner":"crazy-max","description":"JetBrains License Server Docker image","archived":false,"fork":false,"pushed_at":"2025-04-12T23:44:10.000Z","size":360,"stargazers_count":1690,"open_issues_count":0,"forks_count":382,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-04-15T02:16:14.823Z","etag":null,"topics":["alpine-linux","docker","jetbrains","license-server"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crazy-max.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"crazy-max","custom":"https://www.paypal.me/crazyws"}},"created_at":"2018-02-01T10:57:47.000Z","updated_at":"2025-04-14T13:51:07.000Z","dependencies_parsed_at":"2023-01-31T09:15:33.848Z","dependency_job_id":"24a16b88-3dec-4575-a1b7-8b531696bf47","html_url":"https://github.com/crazy-max/docker-jetbrains-license-server","commit_stats":null,"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-jetbrains-license-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-jetbrains-license-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-jetbrains-license-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-jetbrains-license-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazy-max","download_url":"https://codeload.github.com/crazy-max/docker-jetbrains-license-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991560,"owners_count":21194894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine-linux","docker","jetbrains","license-server"],"created_at":"2024-07-31T03:01:54.223Z","updated_at":"2025-04-15T02:16:31.795Z","avatar_url":"https://github.com/crazy-max.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/crazy-max","https://www.paypal.me/crazyws"],"categories":["Dockerfile"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/crazy-max/docker-jetbrains-license-server\" target=\"_blank\"\u003e\u003cimg height=\"128\" src=\"https://raw.githubusercontent.com/crazy-max/docker-jetbrains-license-server/master/.github/docker-jetbrains-license-server.jpg\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://hub.docker.com/r/crazymax/jetbrains-license-server/tags?page=1\u0026ordering=last_updated\"\u003e\u003cimg src=\"https://img.shields.io/github/v/tag/crazy-max/docker-jetbrains-license-server?label=version\u0026style=flat-square\" alt=\"Latest Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/crazy-max/docker-jetbrains-license-server/actions?workflow=build\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/crazy-max/docker-jetbrains-license-server/build.yml?branch=master\u0026?label=build\u0026logo=github\u0026style=flat-square\" alt=\"Build Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/crazymax/jetbrains-license-server/\"\u003e\u003cimg src=\"https://img.shields.io/docker/stars/crazymax/jetbrains-license-server.svg?style=flat-square\u0026logo=docker\" alt=\"Docker Stars\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/crazymax/jetbrains-license-server/\"\u003e\u003cimg src=\"https://img.shields.io/docker/pulls/crazymax/jetbrains-license-server.svg?style=flat-square\u0026logo=docker\" alt=\"Docker Pulls\"\u003e\u003c/a\u003e\n  \u003cbr /\u003e\u003ca href=\"https://github.com/sponsors/crazy-max\"\u003e\u003cimg src=\"https://img.shields.io/badge/sponsor-crazy--max-181717.svg?logo=github\u0026style=flat-square\" alt=\"Become a sponsor\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.paypal.me/crazyws\"\u003e\u003cimg src=\"https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal\u0026style=flat-square\" alt=\"Donate Paypal\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\n[JetBrains License Server](https://www.jetbrains.com/help/license_server/getting_started.html)\nDocker image.\n\n\u003e [!TIP]\n\u003e Want to be notified of new releases? Check out 🔔 [Diun (Docker Image Update Notifier)](https://github.com/crazy-max/diun)\n\u003e project!\n\n___\n\n* [Features](#features)\n* [Build locally](#build-locally)\n* [Image](#image)\n* [Environment variables](#environment-variables)\n* [Volumes](#volumes)\n* [Ports](#ports)\n* [Usage](#usage)\n  * [Docker Compose](#docker-compose)\n  * [Command line](#command-line)\n* [Upgrade](#upgrade)\n* [Notes](#notes)\n  * [Error 403 Passed value of header \"Host\" is not allowed](#error-403-passed-value-of-header-host-is-not-allowed)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Features\n\n* Run as non-root user\n* Multi-platform image\n* License server completely customizable via environment variables\n* Registration data and configuration in a single directory\n* [msmtpd SMTP relay](https://github.com/crazy-max/docker-msmtpd) image to send emails\n* [Traefik](https://github.com/containous/traefik-library-image) as reverse proxy and creation/renewal of Let's Encrypt certificates (see [this template](examples/traefik))\n\n## Build locally\n\n```shell\ngit clone https://github.com/crazy-max/docker-jetbrains-license-server.git\ncd docker-jetbrains-license-server\n\n# Build image and output to docker (default)\ndocker buildx bake\n\n# Build multi-platform image\ndocker buildx bake image-all\n```\n\n## Image\n\n| Registry                                                                                                            | Image                                        |\n|---------------------------------------------------------------------------------------------------------------------|----------------------------------------------|\n| [Docker Hub](https://hub.docker.com/r/crazymax/jetbrains-license-server/)                                           | `crazymax/jetbrains-license-server`          |\n| [GitHub Container Registry](https://github.com/users/crazy-max/packages/container/package/jetbrains-license-server) | `ghcr.io/crazy-max/jetbrains-license-server` |\n\n## Environment variables\n\n* `TZ`: The timezone assigned to the container (default `UTC`)\n* `PUID`: JLS UID (default `1000`)\n* `PGID`: JLS GID (default `1000`)\n* `JLS_VIRTUAL_HOSTS`: [Virtual hosts](https://www.jetbrains.com/help/license_server/setting_host_and_port.html#d1010e63) where license server will be available (comma delimited for several hosts)\n* `JLS_CONTEXT`:  [Context path](https://www.jetbrains.com/help/license_server/setting_host_and_port.html#d1010e63) used by the license server (default `/`)\n* `JLS_PROXY_TYPE`: Type of [proxy](https://www.jetbrains.com/help/license_server/configuring_proxy_settings.html) to use. Can be `http` or `https` (default `https`)\n* `JLS_PROXY_HOST`: The host name of your proxy server\n* `JLS_PROXY_PORT`: The port number that the proxy server listens to\n* `JLS_PROXY_USER`: Username to connect to the proxy server (no auth if empty)\n* `JLS_PROXY_PASSWORD`: Password to connect to the proxy server (no auth if empty)\n* `JLS_ACCESS_CONFIG`: JSON file to configure [user restrictions](https://www.jetbrains.com/help/license_server/configuring_user_restrictions.html) (default `/data/access-config.json`)\n* `JLS_STATS_RECIPIENTS`: [Reports recipients](https://www.jetbrains.com/help/license_server/detailed_server_usage_statistics.html#d461e40) email addresses for stats (comma delimited)\n* `JLS_REPORT_OUT_OF_LICENSE`: [Warn about lack of licenses](https://www.jetbrains.com/help/license_server/detailed_server_usage_statistics.html#d461e40) every hour following the percentage threshold (default `0`)\n* `JLS_SMTP_SERVER`: SMTP server host to use for sending [stats](https://www.jetbrains.com/help/license_server/detailed_server_usage_statistics.html) (stats disabled if empty)\n* `JLS_SMTP_PORT`: SMTP server port (default `25`)\n* `JLS_SMTP_USERNAME`: SMTP username (auth disabled if empty)\n* `JLS_SMTP_PASSWORD`: SMTP password (auth disabled if empty)\n* `JLS_STATS_FROM`: [From address](https://www.jetbrains.com/help/license_server/detailed_server_usage_statistics.html#d461e40) for stats emails\n* `JLS_STATS_TOKEN`: Enables an auth token for the [stats API](https://www.jetbrains.com/help/license_server/detailed_server_usage_statistics.html#d461e312) at `/reportApi` (HTTP POST)\n* `JLS_SERVICE_LOGLEVEL`: Logging of IDE requests and responses (default `warn`)\n* `JLS_REPORTING_LOGLEVEL`: Logging of actions on a server: tickets obtaining and revoking with user and license information (default `warn`) \n* `JLS_TICKETS_LOGLEVEL`: Logging of actions with tickets. For example, manual ticket revoking (default `warn`)\n\n## Volumes\n\n* `/data`: Contains [registration data](https://www.jetbrains.com/help/license_server/migrate.html) and configuration\n\n\u003e [!WARNING]\n\u003e Note that the volumes should be owned by the user/group with the specified\n\u003e `PUID` and `PGID`. If you don't give the volume correct permissions, the\n\u003e container may not start.\n\n## Ports\n\n* `8000`: Jetbrains License Server HTTP port\n\n## Usage\n\n### Docker Compose\n\nDocker compose is the recommended way to run this image. Copy the content of\nfolder [examples/compose](examples/compose) in `/var/jls/` on your host for\nexample. Edit the compose and env files with your preferences and run the\nfollowing commands:\n\n```bash\ndocker compose up -d\ndocker compose logs -f\n```\n\n### Command line\n\nYou can also use the following minimal command:\n\n```bash\n$ docker run -d -p 8000:8000 --name jetbrains_license_server \\\n  -e TZ=\"Europe/Paris\" \\\n  -e JLS_VIRTUAL_HOSTS=jls.example.com \\\n  -v $(pwd)/data:/data \\\n  crazymax/jetbrains-license-server:latest\n```\n\n## Upgrade\n\nRecreate the container whenever I push an update:\n\n```bash\ndocker compose pull\ndocker compose up -d\n```\n\n## Notes\n\nIf you have any trouble using the license server, check the official\n[Troubleshooting page](https://www.jetbrains.com/help/license_server/troubleshooting.html)\nof Jetbrains.\n\n### Error 403 Passed value of header \"Host\" is not allowed\n\nIf you've got the following message :\n\n```\nPassed value of header \"Host\" is not allowed. Please contact your license server administrator.\n```\n\nThat's because the license server is running behind a reverse proxy. Please\nconfigure virtual hosts using the `JLS_VIRTUAL_HOSTS` variable.\n\n## Contributing\n\nWant to contribute? Awesome! The most basic way to show your support is to star\nthe project, or to raise issues. You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max)\nor by making a [PayPal donation](https://www.paypal.me/crazyws) to ensure this\njourney continues indefinitely!\n\nThanks again for your support, it is much appreciated! :pray:\n\n## License\n\nMIT. See `LICENSE` for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fdocker-jetbrains-license-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazy-max%2Fdocker-jetbrains-license-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fdocker-jetbrains-license-server/lists"}