Skip to content

Docker compose: Unable to reach seq running behind traefik #1446

Answered by nblumhardt
johanndev asked this question in Help
Discussion options

You must be logged in to vote

Hi!

I've managed to get as far as having traefik serve Seq in your compose file by adding the strip-prefix middleware, and SEQ_API_CANONICALURI.

  seq:
    image: datalust/seq:latest
    restart: unless-stopped 
    environment:
      ACCEPT_EULA: "Y"
      SEQ_DIAGNOSTICS_INTERNALLOGGINGLEVEL: "Debug"
      SEQ_API_CANONICALURI: "http://localhost/seq"
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.seq.rule=Host(`localhost`) && PathPrefix(`/seq`)"
      - "traefik.http.middlewares.autodetect.contenttype.autodetect=false"
      - "traefik.http.middlewares.strip-seq.stripprefix.prefixes=/seq"
      - "traefik.http.routers.seq.entrypoints=web"
      - "traefik.http.r…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@johanndev
Comment options

@johanndev
Comment options

@nblumhardt
Comment options

@johanndev
Comment options

Answer selected by johanndev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants