Release Please / Release Please (push) Skipped
Release / GoReleaser (push) Skipped
Tests / Secret scan (gitleaks) (push) Skipped
Tests / Test (Go 1.25) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Tests / Secret scan (gitleaks) (pull_request) Successful in 4s
Tests / Test (Go 1.25) (pull_request) Successful in 20s
Tests / Test (Go stable) (pull_request) Successful in 22s
69 lines
2.6 KiB
Bash
69 lines
2.6 KiB
Bash
# OnlyOffice Workspace credentials. Used by cmd/oo (the library itself
|
|
# does not load .env files — only its CLI does, via godotenv).
|
|
#
|
|
# Primary names:
|
|
ONLYOFFICE_URL=https://office.example.com
|
|
ONLYOFFICE_USER=
|
|
ONLYOFFICE_PASS=
|
|
|
|
# Accepted aliases (only one of each pair is needed):
|
|
# ONLYOFFICE_HOST=
|
|
# ONLYOFFICE_NAME=
|
|
# ONLYOFFICE_PASSWORD=
|
|
#
|
|
# Optional CLI-only aliases:
|
|
# OO_URL=
|
|
# OO_USER=
|
|
# OO_PASS=
|
|
|
|
# Optional defaults for calendar/project helpers:
|
|
ONLYOFFICE_CALENDAR_ID=1
|
|
ONLYOFFICE_PROJECT_ID=33
|
|
|
|
# oo mails uses ONLYOFFICE_URL/USER/PASS above (Workspace Mail addon).
|
|
|
|
# deploy/docker-compose.rclone-webdav.yml — rclone FUSE mount of the oo-webdav
|
|
# sidecar. Reuses ONLYOFFICE_USER and accepts ONLYOFFICE_PASSWORD (alias
|
|
# ONLYOFFICE_PASS). Set ONLYOFFICE_WEBDAV_URL only if the sidecar is not on
|
|
# the default docker bridge address. See docs/rclone-webdav.md.
|
|
# ONLYOFFICE_WEBDAV_URL=http://172.17.0.1:8098/webdav
|
|
|
|
# cmd/office TUI — optional Document Server for DOCX→HTML preview:
|
|
# ONLYOFFICE_DOCS_URL=https://docs.example.com
|
|
# ONLYOFFICE_DOCS_SECRET=
|
|
|
|
# MinIO download fallback for the portal's stale AWS S3 consumer (older
|
|
# Documents folders). When the portal redirects to amazonaws.com with access
|
|
# key "minio" (403 InvalidAccessKeyId), files are fetched from the local MinIO
|
|
# store instead. Without a key/secret the fallback is disabled.
|
|
# MINIO_ENDPOINT=http://192.168.188.10:9000
|
|
# MINIO_BUCKET=office
|
|
# MINIO_ACCESS_KEY=
|
|
# MINIO_SECRET_KEY=
|
|
|
|
# oo search — direct Elasticsearch access for name + content search. ES lives
|
|
# inside the OnlyOffice VM on localhost:9200; expose it with an SSH tunnel
|
|
# (see docs/elasticsearch.md). ONLYOFFICE_ES_INDEX defaults to files_file.
|
|
# ONLYOFFICE_ES_URL=http://127.0.0.1:9200
|
|
# ONLYOFFICE_ES_INDEX=files_file
|
|
# ONLYOFFICE_TENANT=
|
|
|
|
# Read-only SQL file store over the Community Server database (see
|
|
# docs/community-server-db.md). The live portal runs MySQL; ONLYOFFICE_DSN is
|
|
# `user:pass@tcp(host:port)/onlyoffice?parseTime=true`, or a `postgres://` URL.
|
|
# ONLYOFFICE_DSN=
|
|
# ONLYOFFICE_PG_DRIVER= # postgres | mysql (auto-detected from DSN)
|
|
# ONLYOFFICE_PG_TENANT=1 # falls back to ONLYOFFICE_TENANT
|
|
# Alternatively build a PostgreSQL DSN from parts:
|
|
# ONLYOFFICE_PG_HOST=
|
|
# ONLYOFFICE_PG_PORT=5432
|
|
# ONLYOFFICE_PG_USER=
|
|
# ONLYOFFICE_PG_PASSWORD=
|
|
# ONLYOFFICE_PG_DBNAME=onlyoffice
|
|
# ONLYOFFICE_PG_SSLMODE=disable
|
|
|
|
# oo index / oo search --backend own — own full-text index for PDF/scans,
|
|
# filled by `oo index` from internal/docpipe (pdftotext + OCR). Defaults to
|
|
# oo_docs_text. Uses the same ONLYOFFICE_ES_URL.
|
|
# ONLYOFFICE_ES_TEXT_INDEX=oo_docs_text
|