fix: bind Gitea to 127.0.0.1 only — not exposed to internet

nginx proxy manager reaches it via localhost. No reason to bind to all interfaces.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-02-27 17:31:18 +01:00
parent 4b1c2d1509
commit 71a1386f13

View File

@@ -4,7 +4,7 @@ services:
container_name: gitea
restart: always
ports:
- "3100:3000"
- "127.0.0.1:3100:3000"
volumes:
- /data/server-infra/gitea:/data
- /etc/timezone:/etc/timezone:ro