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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user