From eee6501c860fd3f78cdccf13f5e5f449b2ec2761 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Wed, 25 Jun 2025 06:36:55 -0400 Subject: [PATCH] SWAG directive for Plant-It API. --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index fe04b04f..62ff8f1d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4083,6 +4083,10 @@ services: swag_proto: http swag_port: 3000 swag_url: plants.${MY_TLD} + swag_server_custom_directive: + location /api { + proxy_pass http://plant-it:8080; + } swag.uptime-kuma.enabled: true swag.uptime-kuma.monitor.url: https://portainer.${MY_TLD} swag.uptime-kuma.monitor.interval: 300