mintls 1.2

This commit is contained in:
Maciej Krok 2020-06-07 11:36:28 +02:00
parent 11a227691d
commit a6b77c77a6

View File

@ -10,8 +10,8 @@ services:
- --api.entryPoint=traefik - --api.entryPoint=traefik
- --api.dashboard=false - --api.dashboard=false
- --debug=false - --debug=false
- --entryPoints=Name:http Address::80 Redirect.EntryPoint:https - --entryPoints=Name:http Address::80 Compress:true Redirect.EntryPoint:https
- --entryPoints=Name:https Address::443 TLS - --entryPoints=Name:https Address::443 TLS Compress:true TLS.MinVersion:VersionTLS12
- --logLevel=INFO - --logLevel=INFO
- --accessLog.format=json - --accessLog.format=json
- --docker - --docker
@ -46,7 +46,6 @@ services:
placement: placement:
constraints: constraints:
- node.role == manager - node.role == manager
networks: networks:
external: external:
traefik-net: traefik-net:
@ -60,4 +59,4 @@ volumes:
### Environment variables ### Environment variables
# DOCKER_DOMAIN # DOCKER_DOMAIN
# ACME_EMAIL # ACME_EMAIL