Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu and memory limit at docker-compose #572

Open
chendelin1982 opened this issue Feb 2, 2024 · 3 comments
Open

cpu and memory limit at docker-compose #572

chendelin1982 opened this issue Feb 2, 2024 · 3 comments
Labels
feature Type label, New feature or request

Comments

@chendelin1982
Copy link
Contributor

What type of your feature request?

  • cpu_percent: 50 ? (核 or 多路)
@chendelin1982 chendelin1982 added the feature Type label, New feature or request label Feb 2, 2024
@chendelin1982 chendelin1982 changed the title cup and memory limit at docker-compose cpu and memory limit at docker-compose Feb 2, 2024
@qiaofeng1227
Copy link
Contributor

@qiaofeng1227
Copy link
Contributor

memory limit has not parcent parameter

@qiaofeng1227
Copy link
Contributor

services:
  testservice:
    image: $W9_REPO:$W9_VERSION
    container_name: $W9_ID
    restart: unless-stopped
    cpu_percent: 60
    mem_limit: 8g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Type label, New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants