Commit dd13fc42 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Añade config de TLS y omite puertos para Traefik

parent 54619b55
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ services:
    command:
      - "--logLevel=INFO"
      - "--entrypoints=Name:http Address::80 Redirect.EntryPoint:https"
      - "--entrypoints=Name:https Address::443"
      - "--entrypoints=Name:https Address::443 TLS"
      - "--defaultentrypoints=http,https"
      - "--docker.swarmmode"
      - "--acme"
@@ -14,13 +14,6 @@ services:
      - "--acme.storage=acme.json"
      - "--acme.entrypoint=https"
      - "--acme.httpchallenge.entrypoint=http"
    ports:
      - target: 80
        published: 80
        mode: host
      - target: 443
        published: 443
        mode: host
    deploy:
      mode: replicated
      replicas: 1