From 610f27a9cb19e85924b797ce034f5e8052c30c62 Mon Sep 17 00:00:00 2001 From: husanjon Date: Wed, 15 Apr 2026 19:53:38 +0500 Subject: [PATCH] test --- docker-compose.yml | 2 ++ next.config.ts | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 932c615..6dfd73b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,8 @@ services: environment: NODE_ENV: production API_URL: ${API_URL:-https://api.quyoshli.uz/api} + extra_hosts: + - "host.docker.internal:host-gateway" healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3000/"] interval: 30s diff --git a/next.config.ts b/next.config.ts index 62db260..d2da3d9 100644 --- a/next.config.ts +++ b/next.config.ts @@ -28,6 +28,24 @@ const nextConfig: NextConfig = { port: '9000', pathname: '/**', }, + { + protocol: "http", + hostname: "minio", + port: "9100", + pathname: "/**", + }, + { + protocol: "http", + hostname: "localhost", + port: "9100", + pathname: "/**", + }, + { + protocol: "http", + hostname: "host.docker.internal", + port: "9100", + pathname: "/**", + }, ] }, devIndicators: false,