Swap Document Server to Euro-Office, add blank-document creation, and restyle the app with an Office-like light/dark theme and compact editor toolbar. Co-authored-by: Cursor <cursoragent@cursor.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
services:
|
|
backend:
|
|
build: .
|
|
ports:
|
|
- '3000:3000'
|
|
environment:
|
|
JWT_SECRET: ${JWT_SECRET:-change-me-to-a-long-random-secret}
|
|
PUBLIC_URL: ${PUBLIC_URL:-http://localhost:3000}
|
|
INTERNAL_URL: ${INTERNAL_URL:-http://backend:3000}
|
|
ONLYOFFICE_URL: ${ONLYOFFICE_URL:-http://localhost:8080}
|
|
ONLYOFFICE_INTERNAL_URL: ${ONLYOFFICE_INTERNAL_URL:-http://documentserver}
|
|
SESSION_TTL_MS: ${SESSION_TTL_MS:-900000}
|
|
TEMP_DIR: /tmp/sejong
|
|
PORT: 3000
|
|
MAX_UPLOAD_MB: ${MAX_UPLOAD_MB:-50}
|
|
tmpfs:
|
|
- /tmp/sejong:size=512m,mode=1777
|
|
depends_on:
|
|
- documentserver
|
|
restart: unless-stopped
|
|
|
|
documentserver:
|
|
image: ghcr.io/euro-office/documentserver:v9.3.2
|
|
ports:
|
|
- '8080:80'
|
|
environment:
|
|
JWT_ENABLED: 'true'
|
|
JWT_SECRET: ${JWT_SECRET:-change-me-to-a-long-random-secret}
|
|
JWT_HEADER: Authorization
|
|
JWT_IN_BODY: 'true'
|
|
volumes:
|
|
# Persist DS license/cache lightly; document content still lives in backend tmpfs
|
|
- documentserver_data:/var/www/onlyoffice/Data
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
documentserver_data:
|