Force ACME HTTP challenge since Traefik 1.6

This commit is contained in:
CrazyMax 2018-06-29 16:54:35 +02:00
parent 22a934e981
commit 82d6205bbc
2 changed files with 8 additions and 3 deletions

View File

@ -50,9 +50,11 @@ If you are interested, [check out](https://hub.docker.com/r/crazymax/) my other
* `80` : Jetbrains License Server HTTP port * `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 ```bash
touch acme.json touch acme.json
@ -61,7 +63,9 @@ docker-compose up -d
docker-compose logs -f docker-compose logs -f
``` ```
Or use the following minimal command : ### Command line
You can also use the following minimal command :
```bash ```bash
$ docker run -d -p 8000:80 --name jetbrains-license-server \ $ docker run -d -p 8000:80 --name jetbrains-license-server \

View File

@ -18,6 +18,7 @@ services:
- --acme.entryPoint=https - --acme.entryPoint=https
- --acme.onhostrule=true - --acme.onhostrule=true
- --acme.httpchallenge=true - --acme.httpchallenge=true
- --acme.httpchallenge.entrypoint=http
ports: ports:
- target: 80 - target: 80
published: 80 published: 80