diff --git a/docker-compose.yml b/docker-compose.yml index 7f723aeb..0b4f5caf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,11 @@ services: max-size: "10m" max-file: "10" restart: unless-stopped + labels: + caddy.log: "" + caddy.log.output: stdout + caddy.log.format: json + caddy.log.include: http.log.access.spring http.log.access.nestjs swagger: image: swaggerapi/swagger-ui @@ -62,6 +67,7 @@ services: networks: - caddy labels: + caddy.log: "spring" # for Swagger spec caddy.route_0: /api-docs/json caddy.route_0.reverse_proxy: "{{ upstreams 4000 }}" @@ -95,6 +101,7 @@ services: max-size: "10m" max-file: "10" labels: + caddy.log: "nestjs" # for Swagger spec caddy.route_0: /api-docs-json caddy.route_0.reverse_proxy: "{{ upstreams 3000 }}"