Some checks failed
/ Ansible Lint (push) Failing after 1m54s
This makes secret configuration and usage a good bit cleaner.
17 lines
571 B
Django/Jinja
17 lines
571 B
Django/Jinja
## Links & Resources
|
|
#
|
|
# https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx
|
|
|
|
services:
|
|
onlyoffice:
|
|
image: onlyoffice/documentserver:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "./onlyoffice/DocumentServer/logs:/var/log/onlyoffice"
|
|
- "./onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data"
|
|
- "./onlyoffice/DocumentServer/lib:/var/lib/onlyoffice"
|
|
- "./onlyoffice/DocumentServer/db:/var/lib/postgresql"
|
|
ports:
|
|
- "8080:80"
|
|
environment:
|
|
JWT_SECRET: {{ secret__onlyoffice_jwt_secret }}
|