Add internal network.

This commit is contained in:
mguschin
2026-02-16 12:28:31 +03:00
parent b4b7b4b636
commit cfea07ceeb

View File

@@ -17,6 +17,7 @@ services:
- GITEA__server__ROOT_URL=${GITEA_ROOT_URL}
- GITEA__server__HTTP_PORT=3000
- GITEA__server__SSH_PORT=22
- GITEA__service__DISABLE_REGISTRATION=true
restart: unless-stopped
networks:
- gitea
@@ -27,6 +28,8 @@ services:
ports:
- "${GITEA_HTTP_PORT}:3000"
- "${GITEA_SSH_PORT}:22"
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
gitea: