feat: 完成网关服务代码实现,支持 WebSocket 长连接与健康检查

This commit is contained in:
fish
2026-03-28 18:08:26 +08:00
parent 1f71d68d15
commit 911654b60b
5 changed files with 246 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
version: '3.8'
services:
nginx:
image: nginx:1.25-alpine
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- gateway
gateway:
build:
context: ./gateway
ports:
- "8080:8080"
environment:
- GO_ENV=production