fixed some error
Some checks failed
check / markdownlint (push) Has been cancelled
check / spellchecker (push) Has been cancelled

This commit is contained in:
Yajbir Singh
2025-12-05 22:55:29 +05:30
parent 015c89abfe
commit 3e5bb28c6b
2 changed files with 3 additions and 33 deletions

View File

@@ -1,11 +1,5 @@
# ONLYOFFICE DocumentServer Docker Compose Configuration
# All services run with hardcoded credentials - no environment variables needed
# Works on both ARM64 and AMD64 architectures
services:
# ===========================================
# ONLYOFFICE DocumentServer - Main Service
# ===========================================
onlyoffice-documentserver:
build:
context: .
@@ -19,7 +13,6 @@ services:
onlyoffice-rabbitmq:
condition: service_healthy
environment:
# Database Configuration
- DB_TYPE=postgres
- DB_HOST=onlyoffice-postgresql
- DB_PORT=5432
@@ -32,21 +25,17 @@ services:
- AMQP_SERVER_PORT=5672
- AMQP_SERVER_USER=guest
- AMQP_SERVER_PWD=guest
# Redis Configuration (using built-in Redis)
- REDIS_SERVER_HOST=localhost
- REDIS_SERVER_PORT=6379
- REDIS_ENABLED=true
# JWT Configuration (disabled for simplicity)
- JWT_ENABLED=false
- JWT_SECRET=secret
- JWT_HEADER=Authorization
- JWT_IN_BODY=false
# Other settings
- WOPI_ENABLED=false
- GENERATE_FONTS=true
- PLUGINS_ENABLED=true
- DS_LOG_LEVEL=WARN
# Enable test example page (access at http://your-server/example)
- DS_EXAMPLE=true
ports:
- '80:80'
@@ -66,9 +55,6 @@ services:
- ds_cache:/var/lib/onlyoffice/documentserver/App_Data/cache/files
- ds_fonts:/usr/share/fonts/truetype/custom
# ===========================================
# PostgreSQL Database
# ===========================================
onlyoffice-postgresql:
container_name: onlyoffice-postgresql
image: postgres:16
@@ -89,9 +75,6 @@ services:
start_period: 10s
timeout: 5s
# ===========================================
# RabbitMQ Message Broker
# ===========================================
onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq
image: rabbitmq:3-management
@@ -112,9 +95,6 @@ services:
start_period: 30s
timeout: 10s
# ===========================================
# Persistent Volumes
# ===========================================
volumes:
postgresql_data:
driver: local
@@ -129,9 +109,6 @@ volumes:
ds_fonts:
driver: local
# ===========================================
# Network Configuration
# ===========================================
networks:
default:
name: onlyoffice-network