feat: 开发阶段开放局域网访问,移除网络隔离与访问约束

- compose: 去掉 control 网络的 internal 标记(internal 网络上 Docker 会静默丢弃端口发布,导致局域网无法访问)
- docker-gateway: 浏览器网络改为普通 bridge,移除 internal+禁 ICC
- AGENTS.md: 新增开发阶段原则(仅业务功能、不做访问限制、安全自管),删除输入信任/风控/敏感日志约束
- docs/README: 同步移除 localhost-only 与网络隔离声明
- 端口改为 8082(8080 被 multica-backend-1 占用)
This commit is contained in:
2026-08-28 15:58:52 +08:00
parent c4a5d58f44
commit b875149605
8 changed files with 40 additions and 106 deletions
+1 -2
View File
@@ -5,7 +5,7 @@ services:
DOCKER_GATEWAY_URL: http://docker-gateway:8081
DATABASE_URL: postgres://creatorhub@postgres/creatorhub?sslmode=disable
ports:
- "127.0.0.1:${CREATORHUB_PORT:-8080}:8080"
- "${CREATORHUB_PORT:-8080}:8080"
read_only: true
tmpfs:
- /tmp:size=16m,noexec,nosuid,nodev
@@ -67,7 +67,6 @@ services:
networks:
control:
name: creatorhub_control
internal: true
volumes:
creatorhub_postgres: