Files
sejong-office/docker-compose.yml
ysj7705andCursor 816bf636de
CI / Type-check & Build (push) Failing after 8m57s
CI / Build & Push image (push) Skipped
Add Gitea CI to build and push images to docker.sejong.dev.
Switch compose to pull sejong-office:latest and document registry secrets and deploy steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 11:27:09 +09:00

38 lines
1.2 KiB
YAML

services:
backend:
image: docker.sejong.dev/sejong-office:latest
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: