Skip to content

Commit 1a5f618

Browse files
committed
Add ONLYOFFICE Document Server configuration
1 parent e7dff30 commit 1a5f618

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

templates/compose/onlyoffice.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# documentation: https://helpcenter.onlyoffice.com/docs/installation/docs-community-install-docker.aspx
2+
# slogan: ONLYOFFICE Document Server provides online document editors for documents, spreadsheets, and presentations.
3+
# category: productivity
4+
# tags: onlyoffice,documentserver,documents,office,editor,collaboration
5+
# logo: svgs/onlyoffice.svg
6+
# port: 80
7+
8+
services:
9+
onlyoffice:
10+
image: onlyoffice/documentserver:latest
11+
environment:
12+
- SERVICE_URL_ONLYOFFICE_80
13+
- JWT_ENABLED=true
14+
- JWT_SECRET=${SERVICE_PASSWORD_ONLYOFFICEJWT}
15+
- JWT_HEADER=Authorization
16+
- TZ=${TZ:-America/Chicago}
17+
volumes:
18+
- ./onlyoffice-data:/var/www/onlyoffice/Data
19+
- ./onlyoffice-logs:/var/log/onlyoffice
20+
- ./onlyoffice-lib:/var/lib/onlyoffice
21+
- ./onlyoffice-postgresql:/var/lib/postgresql
22+
healthcheck:
23+
test: ["CMD", "curl", "-f", "http://127.0.0.1/healthcheck"]
24+
interval: 5s
25+
timeout: 20s
26+
retries: 20

0 commit comments

Comments
 (0)