Commit 57f0eb59 authored by Ignacio's avatar Ignacio
Browse files

Añade entrada en traefik para pushgateway

parent 20b9ec81
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -109,6 +109,12 @@ services:
    deploy:
      mode: replicated
      replicas: 1
      labels:
        traefik.port: "9091"
        traefik.docker.network: traefik-net
        traefik.frontend.auth.basic: ${UI_AUTH}
        traefik.frontend.rule: Host:pushgateway.${PUBLIC_HOSTNAME}
        traefik.backend: pushgateway
      placement:
        constraints:
          - node.role == worker
+1 −0
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@ services:
      - '--persistence.file=/db/metrics'
    networks:
      - metric-net
      - traefik-net
    volumes:
      - pushgateway:/db