40 lines
1.1 KiB

# from: https://github.com/0k/Docker-DocumentServer (6.1.0)
docker-image: docker.0k.io/oods:2.0.0
data-resources:
- /var/www/onlyoffice/Data
- /var/log/onlyoffice
## not documented but found in entrypoint and docker inspect
- /var/lib/onlyoffice
- /var/lib/postgres
- /var/lib/rabbitmq
- /var/lib/redis
- /usr/share/fonts/truetype/custom
config-resources:
- /etc/onlyoffice/documentserver
uses:
nextcloud-app:
#constraint: required | recommended | optional
#auto: pair | summon | none ## default: pair
constraint: required
auto: pair
solves:
interface: "UI server"
## XXXvlab: public access should NOT be necessary, but seem the only way to make
## it work: https://dev.onlyoffice.org/viewtopic.php?t=19272
web-proxy:
#constraint: required | recommended | optional
#auto: pair | summon | none ## default: pair
constraint: required
auto: summon
solves:
proxy: "Public access"
default-options:
target: !var-expand ${MASTER_BASE_SERVICE_NAME}:80
postgres-database:
constraint: required
auto: summon
solves:
database: "main storage"