2016-07-07 14:13:26 +00:00
|
|
|
services:
|
2026-09-12 07:21:33 +00:00
|
|
|
onlyoffice:
|
|
|
|
|
image: onlyoffice/documentserver:latest
|
2020-03-27 15:44:56 +00:00
|
|
|
container_name: onlyoffice-documentserver
|
2026-09-12 07:21:33 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
|
extra_hosts:
|
|
|
|
|
- "host.docker.internal:host-gateway"
|
2016-07-07 14:13:26 +00:00
|
|
|
environment:
|
2026-09-12 07:21:33 +00:00
|
|
|
- DB_TYPE=postgres
|
|
|
|
|
- DB_HOST=host.docker.internal
|
|
|
|
|
- DB_PORT=5432
|
|
|
|
|
- DB_NAME=onlyoffice
|
|
|
|
|
- DB_USER=vignesh
|
2026-09-27 10:44:56 +00:00
|
|
|
- DB_PWD=vignesh_secret_pass_2026
|
2026-09-12 07:21:33 +00:00
|
|
|
- AWS_REGION=ap-south-2
|
|
|
|
|
- AWS_DEFAULT_REGION=ap-south-2
|
|
|
|
|
- EXAMPLE_ENABLED=false
|
|
|
|
|
- JWT_ENABLED=true
|
|
|
|
|
- JWT_SECRET=vignesh_onlyoffice_secret_key_2026
|
|
|
|
|
- USE_UNAUTHORIZED_STORAGE=true
|
2020-03-27 15:44:56 +00:00
|
|
|
ports:
|
2026-09-12 07:21:33 +00:00
|
|
|
- "127.0.0.1:8083:80"
|
2016-07-11 08:47:22 +00:00
|
|
|
volumes:
|
2026-09-12 07:21:33 +00:00
|
|
|
- ./data:/var/www/onlyoffice/Data
|
|
|
|
|
- ./logs:/var/log/onlyoffice
|
|
|
|
|
- ./custom-local.json:/etc/onlyoffice/documentserver/local-production-linux.json
|
|
|
|
|
|
|
|
|
|
portal:
|
|
|
|
|
build:
|
|
|
|
|
context: ./portal
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
container_name: onlyoffice-portal
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
extra_hosts:
|
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
|
environment:
|
|
|
|
|
- PORT=8084
|
|
|
|
|
- PGHOST=host.docker.internal
|
|
|
|
|
- PGPORT=5432
|
|
|
|
|
- PGDATABASE=onlyoffice
|
|
|
|
|
- PGUSER=vignesh
|
2026-09-27 10:44:56 +00:00
|
|
|
- PGPASSWORD=vignesh_secret_pass_2026
|
2026-09-12 07:21:33 +00:00
|
|
|
- AWS_REGION=ap-south-2
|
|
|
|
|
- AWS_S3_BUCKET=trypostmedia
|
|
|
|
|
- AWS_S3_PREFIX=documents/
|
|
|
|
|
- JWT_SECRET=vignesh_onlyoffice_secret_key_2026
|
|
|
|
|
- DOCSERVER_PUBLIC_URL=https://documents.tradhox.com
|
|
|
|
|
ports:
|
|
|
|
|
- "127.0.0.1:8084:8084"
|
|
|
|
|
depends_on:
|
|
|
|
|
- onlyoffice
|