From 4fe4bad7153a30eb3bc75c323b6d699636dd777a Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sat, 21 Jun 2025 11:31:19 -0400 Subject: [PATCH] Maxun env changes... --- docker-compose.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index bbdb91b1..cdc0eec9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,10 +33,10 @@ x-maxun: &maxun-env REDIS_PORT: 6379 BACKEND_PORT: 8080 FRONTEND_PORT: 5173 - BACKEND_URL: http://localhost:8080 - PUBLIC_URL: http://localhost:5173 - VITE_BACKEND_URL: http://localhost:8080 - VITE_PUBLIC_URL: http://localhost:5173 + BACKEND_URL: https://scrape.trez.wtf/api + PUBLIC_URL: https://scrape.trez.wtf + VITE_BACKEND_URL: https://scrape.trez.wtf/api + VITE_PUBLIC_URL: https://scrape.trez.wtf MAXUN_TELEMETRY: true PLAYWRIGHT_BROWSERS_PATH: /ms-playwright PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 0 @@ -3212,6 +3212,10 @@ services: swag_proto: http swag_port: 5173 swag_url: scrape.${MY_TLD} + swag_server_custom_directive: + location /api { + proxy_pass http://maxun-backend:8080; + } swag.uptime-kuma.enabled: true swag.uptime-kuma.monitor.url: https://scrape.${MY_TLD} swag.uptime-kuma.monitor.interval: 300