From 82d6205bbcdef4f5fe8c094f4601725192e409b3 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 29 Jun 2018 16:54:35 +0200 Subject: [PATCH] Force ACME HTTP challenge since Traefik 1.6 --- README.md | 10 +++++++--- {docker => examples/compose}/docker-compose.yml | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) rename {docker => examples/compose}/docker-compose.yml (97%) diff --git a/README.md b/README.md index 3bf4c68..0fd87a9 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,11 @@ If you are interested, [check out](https://hub.docker.com/r/crazymax/) my other * `80` : Jetbrains License Server HTTP port -## Usage +## Use this image -Docker compose is the recommended way to run this image. You can use the following [docker compose template](docker/docker-compose.yml), then run the container : +### Docker Compose + +Docker compose is the recommended way to run this image. Copy the content of folder [examples/compose](examples/compose) in `/var/jls/` on your host for example. Edit the compose and env files with your preferences and run the following commands : ```bash touch acme.json @@ -61,7 +63,9 @@ docker-compose up -d docker-compose logs -f ``` -Or use the following minimal command : +### Command line + +You can also use the following minimal command : ```bash $ docker run -d -p 8000:80 --name jetbrains-license-server \ diff --git a/docker/docker-compose.yml b/examples/compose/docker-compose.yml similarity index 97% rename from docker/docker-compose.yml rename to examples/compose/docker-compose.yml index 33bd640..685ca7a 100644 --- a/docker/docker-compose.yml +++ b/examples/compose/docker-compose.yml @@ -18,6 +18,7 @@ services: - --acme.entryPoint=https - --acme.onhostrule=true - --acme.httpchallenge=true + - --acme.httpchallenge.entrypoint=http ports: - target: 80 published: 80