update cpus limit
This commit is contained in:
@ -4,7 +4,7 @@ services:
|
|||||||
env_file: .env
|
env_file: .env
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
mem_limit: 1g
|
mem_limit: 1g
|
||||||
cpus: 0.4 # al max 40% cpu
|
cpus: 0.4
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=102
|
- USER_UID=102
|
||||||
|
@ -7,7 +7,7 @@ services:
|
|||||||
# file: hwaccel.transcoding.yml
|
# file: hwaccel.transcoding.yml
|
||||||
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
|
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
|
||||||
mem_limit: 1g
|
mem_limit: 1g
|
||||||
cpus: 0.2 # al max 20% cpu
|
cpus: 0.5
|
||||||
volumes:
|
volumes:
|
||||||
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
|
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
@ -6,7 +6,7 @@ services:
|
|||||||
image: codeberg.org/readeck/readeck:latest
|
image: codeberg.org/readeck/readeck:latest
|
||||||
container_name: readeck
|
container_name: readeck
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
cpus: 0.2 # al max 20% cpu
|
cpus: 0.3
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:3019:8000
|
- 127.0.0.1:3019:8000
|
||||||
environment:
|
environment:
|
||||||
|
Reference in New Issue
Block a user