Unverified Commit c3ac8f2e authored by Tom Moulard's avatar Tom Moulard
Browse files

traefik: reverting command passing

parent 80dbe455
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -9,18 +9,6 @@ services:
    command: >
     --api
     --api.statistics
     --docker
     --docker.watch
     --docker.exposedbydefault=false
     --docker.network=srv
     --acme
     --acme.email=${EMAIL}
     --acme.storage="acme.json"
     --acme.entryPoint:https
     --acme.httpChallenge.entryPoint=http
     --acme.onhostrule=true
     --acme.acmelogging=true
     --loglevel=INFO
    restart: always
    ports:
      - '80:80'
+15 −2
Original line number Diff line number Diff line
logLevel = "DEBUG"
defaultEntryPoints = ["http", "https"]

[traefikLog]
@@ -15,12 +16,10 @@ defaultEntryPoints = ["http", "https"]
[entryPoints]
  [entryPoints.http]
    address = ":80"
    compress = true
      [entryPoints.http.redirect]
        entryPoint = "https"
  [entryPoints.https]
    address = ":443"
    compress = true
      [entryPoints.https.tls]

# API definition
@@ -29,3 +28,17 @@ entryPoint = "traefik"
dashboard = true
  [api.statistics]
    recentErrors = 42

[acme]
email = "tom@moulard.org"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
acmelogging = true
  [acme.httpChallenge]
  entryPoint = "http"

[docker]
watch = true
exposedByDefault = false
network=srv
 No newline at end of file