Files
Oxicloud/docker-compose.wopi.yml
T
Dionisio f2d35ca792 feat: auto-persist JWT secret, remove setup token requirement
- JWT secret auto-generates and persists to <STORAGE_PATH>/.jwt_secret
- Remove setup token: first admin setup is open until system initialized
- Fix schema.sql: move CREATE EXTENSION pg_trgm/ltree to top
- Update login UI and auth.js to remove setup token fields
2026-03-05 22:12:53 +01:00

32 lines
1.0 KiB
YAML
Executable File

# WOPI editor services for local development.
# Usage: docker compose -f docker-compose.dev.yml -f docker-compose.wopi.yml up -d
# Then run OxiCloud natively: cargo run
services:
collabora:
image: collabora/code:latest
restart: unless-stopped
cap_add:
- MKNOD
environment:
# Allow OxiCloud running on host to use Collabora
- "aliasgroup1=http://host.docker.internal:8086"
# Disable SSL and SSL termination (dev only, plain HTTP on localhost)
- "extra_params=--o:ssl.enable=false --o:ssl.termination=false --o:net.frame_ancestors=http://localhost:* http://127.0.0.1:*"
# Admin console (optional)
- "username=admin"
- "password=admin"
ports:
- "9980:9980"
# Uncomment to use OnlyOffice instead of / alongside Collabora:
# onlyoffice:
# image: onlyoffice/documentserver:latest
# restart: unless-stopped
# environment:
# - "WOPI_ENABLED=true"
# - "JWT_SECRET=oxicloud-dev-secret"
# - "JWT_ENABLED=true"
# ports:
# - "8088:80"