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>
21 lines
532 B
YAML
21 lines
532 B
YAML
services:
|
|
onlyoffice:
|
|
image: ${ONLYOFFICE_IMAGE:-onlyoffice/documentserver:8.1.0.1}
|
|
container_name: seafile-onlyoffice
|
|
restart: unless-stopped
|
|
environment:
|
|
- JWT_ENABLED=true
|
|
- JWT_SECRET=${ONLYOFFICE_JWT_SECRET:?Variable is not set or empty}
|
|
volumes:
|
|
- "${ONLYOFFICE_VOLUME:-/opt/onlyoffice}:/var/lib/onlyoffice"
|
|
ports:
|
|
- "127.0.0.1:6233:80"
|
|
extra_hosts:
|
|
- "docs.alogins.net:host-gateway"
|
|
networks:
|
|
- seafile-net
|
|
|
|
networks:
|
|
seafile-net:
|
|
name: seafile-net
|