Sentry docker 启动几天后出现网关故障

Sentry docker 启动几天后出现网关故障

我最近尝试使用本地 docker-compose 文件安装 Sentry。https://github.com/getsentry/onpremise

我也使用带有 2 个网络的 traefik,下面是我修改后的 docker-compose 的摘录,以解释一些事情:

services:
  web:
    << : *sentry_defaults
    # I use traefik, so I do not need to open a port
    #ports:
    #  - '9000:9000/tcp'
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.sentry.entryPoints=websecure"
      - "traefik.http.routers.sentry.rule=Host(`sentry.me`)"
      - "traefik.http.routers.sentry.tls=true"
      - "traefik.docker.network=traefik_proxy"
      - "traefik.http.routers.sentry.tls.certresolver=me"
    networks:
      - traefik_proxy
      - sentry_platform
  cron:
    << : *sentry_defaults
    command: run cron
    networks:
      - sentry_platform
networks:
  traefik_proxy:
    external:
      name: traefiknekland_default
  sentry_platform:
    external: false
    driver: bridge

问题是,哨兵有时是一个坏网关。有时它运行几天后又变成了坏网关。

相关内容