diff --git a/api/web/src/std.ts b/api/web/src/std.ts index 654401d95..d767f9634 100644 --- a/api/web/src/std.ts +++ b/api/web/src/std.ts @@ -13,7 +13,11 @@ export function stdurl(url: string | URL): URL { } // Allow serving through Vue for hotloading - if (url.hostname === 'localhost') url.port = '5001' + // Disable if serving over 5000 as that's likely a docker compose install + if ( + url.hostname === 'localhost' + && url.port !== '5000' + ) url.port = '5001' return url; } diff --git a/docker-compose.yml b/docker-compose.yml index 98bca73a1..124983678 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,7 +17,7 @@ services: postgis: platform: linux/amd64 - image: postgis/postgis:16-3.4-alpine + image: postgis/postgis:17-3.4-alpine restart: 'always' ports: - 5433:5432