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
## 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 \

View File

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