Skip to content

Commit

Permalink
fix cpu limit
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Dec 29, 2023
1 parent cba8960 commit 44d04cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/onlyofficedocs/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# license.lic should storaged to data
# volumes cache,mq is define at image but documentation not mention them
# volumes fonts,forgotten is special define
# it starting need lots cpu and long time, so set cpus: 0.5
# it starting need lots cpu and long time, so set cpu_percent: 50
# Add RabbitMQ, otherwise Onlyofficedocs need long time to start because the inner rabbitmq some time not start: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/699

version: '3.8'
Expand All @@ -16,7 +16,7 @@ services:
restart: unless-stopped
env_file:
- .env
cpus: 0.5
cpu_percent: 50
ports:
- ${W9_HTTP_PORT_SET}:80
expose:
Expand Down

0 comments on commit 44d04cb

Please sign in to comment.