Minor changes

This commit is contained in:
Richard Kranendonk 2026-06-06 20:38:07 +02:00
parent 347706835e
commit a7ace0d021
8 changed files with 853 additions and 0 deletions

View file

@ -0,0 +1,34 @@
Heres a **Docker Compose** file for ONLYOFFICE Workspace Community Edition, configured to work with your existing nginx setup and avoiding ports 3000/3001. This setup uses ports **3002** (for the Community Server) and **3003** (for the Document Server), which you can proxy via nginx to `docs.iso27diy.com`.
```yaml
version: '3.8'
services:
onlyoffice-community-server:
image: onlyoffice/communityserver:latest
container_name: onlyoffice-community-server
restart: always
environment:
- DOCUMENT_SERVER_PORT_3003=3003
volumes:
- ./community-data:/var/www/onlyoffice/Data
- ./community-logs:/var/log/onlyoffice
ports:
- "3002:80"
depends_on:
- onlyoffice-document-server
onlyoffice-document-server:
image: onlyoffice/documentserver:latest
container_name: onlyoffice-document-server
restart: always
environment:
- JWT_SECRET=your_jwt_secret_here # Change this to a secure random string
volumes:
- ./document-data:/var/www/onlyoffice/Data
- ./document-logs:/var/log/onlyoffice
ports:
- "3003:80"
cap_add:
- SYS_ADMIN
```