From d5b70f3373935d9ae78bb229768168469a3c7998 Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 4 Jul 2024 16:13:44 +0000 Subject: [PATCH] Add stack.production.yml --- stack.production.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 stack.production.yml diff --git a/stack.production.yml b/stack.production.yml new file mode 100644 index 0000000..9b667d0 --- /dev/null +++ b/stack.production.yml @@ -0,0 +1,43 @@ +services: + jaeger: + image: jaegertracing/all-in-one:${JAEGER_VERSION:-latest} + ports: + - "16686:16686" + - "4318:4318" + environment: + - LOG_LEVEL=debug + networks: + - traefik + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:16686"] + interval: 30s + timeout: 10s + retries: 5 + start_period: 0s + deploy: + update_config: + order: stop-first + failure_action: rollback + delay: 10s + parallelism: 1 + rollback_config: + order: stop-first + restart_policy: + condition: on-failure + labels: + homepage.group: apps + homepage.name: jaeger + homepage.href: https://jaeger.nixc.us/ + homepage.description: jaeger + traefik.enable: "true" + traefik.http.routers.production-jaeger.rule: "Host(`jaeger.nixc.us`)" + traefik.http.routers.production-jaeger.entrypoints: "websecure" + traefik.http.routers.production-jaeger.tls: "true" + traefik.http.routers.production-jaeger.tls.certresolver: "letsencryptresolver" + traefik.http.routers.production-jaeger.service: "production-jaeger" + traefik.http.services.production-jaeger.loadbalancer.server.port: "16686" + traefik.docker.network: "traefik" + +networks: + traefik: + external: true