Fix OnlyOffice→Seafile connectivity (hairpin NAT)

Add extra_hosts: docs.alogins.net:host-gateway so OnlyOffice container
can reach Seafile's callback URL without going through the public IP.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Alvis
2026-03-08 15:45:08 +00:00
parent 7e889d8530
commit b8db06cd21

View File

@@ -10,6 +10,8 @@ services:
- "${ONLYOFFICE_VOLUME:-/opt/onlyoffice}:/var/lib/onlyoffice" - "${ONLYOFFICE_VOLUME:-/opt/onlyoffice}:/var/lib/onlyoffice"
ports: ports:
- "127.0.0.1:6233:80" - "127.0.0.1:6233:80"
extra_hosts:
- "docs.alogins.net:host-gateway"
networks: networks:
- seafile-net - seafile-net