mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
37 lines
720 B
YAML
37 lines
720 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
documentserver:
|
|
container_name: documentserver
|
|
image: onlyoffice/documentserver:8.2
|
|
expose:
|
|
- "80"
|
|
environment:
|
|
- JWT_SECRET=your-256-bit-secret
|
|
|
|
example:
|
|
container_name: example
|
|
build:
|
|
context: .
|
|
expose:
|
|
- "80"
|
|
environment:
|
|
- ADDRESS=0.0.0.0
|
|
- DOCUMENT_SERVER_PRIVATE_URL=http://proxy:8080
|
|
- DOCUMENT_SERVER_PUBLIC_URL=http://localhost:8080
|
|
- EXAMPLE_URL=http://proxy
|
|
- JWT_SECRET=your-256-bit-secret
|
|
- PORT=80
|
|
|
|
proxy:
|
|
container_name: proxy
|
|
build:
|
|
context: .
|
|
target: proxy
|
|
depends_on:
|
|
- documentserver
|
|
- example
|
|
ports:
|
|
- "80:80"
|
|
- "8080:8080"
|