diff --git a/deploy/docker/docker-compose.yml b/deploy/docker/docker-compose.yml index 4f80f20..3475353 100644 --- a/deploy/docker/docker-compose.yml +++ b/deploy/docker/docker-compose.yml @@ -327,7 +327,7 @@ services: - HOSTNAME=0.0.0.0 - API_BASE_URL=http://api-gateway:8000 - NEXT_PUBLIC_API_BASE_URL=/api/proxy - - NEXT_PUBLIC_WS_URL=ws://localhost:18000 + - NEXT_PUBLIC_WS_URL=wss://it0api.szaiai.com healthcheck: test: ["CMD-SHELL", "node -e \"require('http').get('http://127.0.0.1:3000/',r=>{process.exit(r.statusCode<500?0:1)}).on('error',()=>process.exit(1))\""] interval: 30s diff --git a/packages/gateway/config/kong.yml b/packages/gateway/config/kong.yml index 33bc9fb..4f3424f 100644 --- a/packages/gateway/config/kong.yml +++ b/packages/gateway/config/kong.yml @@ -101,7 +101,8 @@ plugins: config: origins: - http://localhost:3000 - - https://admin.it0.your-domain.com + - https://it0.szaiai.com + - http://it0.szaiai.com methods: - GET - POST