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,