update traefik to v2.2
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
FROM traefik:1.7.5-alpine
|
||||
FROM traefik:v2.2
|
||||
|
||||
LABEL maintainer="Luis Coutinho <luis@luiscoutinho.pt>"
|
||||
|
||||
COPY traefik.toml acme.json /
|
||||
WORKDIR /data
|
||||
|
||||
RUN chmod 600 /acme.json
|
||||
RUN touch acme.json
|
||||
|
||||
RUN chmod 600 acme.json
|
||||
|
||||
VOLUME /data
|
2
traefik/data/.gitignore
vendored
Normal file
2
traefik/data/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
@ -1,23 +0,0 @@
|
||||
defaultEntryPoints = ["http", "https"]
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":80"
|
||||
[entryPoints.http.redirect]
|
||||
entryPoint = "https"
|
||||
[entryPoints.https]
|
||||
address = ":443"
|
||||
[entryPoints.https.tls]
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[acme]
|
||||
email = "email@example.org"
|
||||
storage = "acme.json"
|
||||
entryPoint = "https"
|
||||
onHostRule = true
|
||||
[acme.httpChallenge]
|
||||
entryPoint = "http"
|
||||
|
||||
[[acme.domais]]
|
||||
main = "localhost"
|
Reference in New Issue
Block a user