Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 186d5bf6 authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

feat(traefik): reduce amount of labels

parent f27716f8
Loading
Loading
Loading
Loading
Loading
+4 −11
Original line number Diff line number Diff line
@@ -59,16 +59,9 @@ services:
        constraints:
          - node.role == worker
      labels:
      - traefik.enable=true
      - traefik.http.routers.${DB_USER}-nextcloud.rule=Host(`${DOMAIN}`)
      - traefik.http.routers.${DB_USER}-nextcloud.entrypoints=websecure
      - traefik.http.routers.${DB_USER}-nextcloud.tls.certresolver=letsencrypt
      - traefik.http.routers.${DB_USER}-nextcloud.middlewares=nextcloud-headers@file
      - traefik.http.routers.${DB_USER}-nextcloud-http.rule=Host(`${DOMAIN}`)
      - traefik.http.routers.${DB_USER}-nextcloud-http.entrypoints=web
      - traefik.http.routers.${DB_USER}-nextcloud-http.middlewares=https-redirect
      - traefik.http.middlewares.https-redirect.redirectscheme.scheme=https
      - traefik.http.services.${DB_USER}-nextcloud.loadbalancer.server.port=80
        - "traefik.enable=true"
        - "traefik.http.routers.${DB_USER}-nextcloud.rule=Host(`${DOMAIN}`)"
        - "traefik.http.services.${DB_USER}-nextcloud.loadbalancer.server.port=80"

networks:
  proxy-network: