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

C2D: Docker engine compute envs #739

Closed
alexcos20 opened this issue Oct 25, 2024 · 1 comment
Closed

C2D: Docker engine compute envs #739

alexcos20 opened this issue Oct 25, 2024 · 1 comment
Assignees
Labels

Comments

@alexcos20
Copy link
Member

alexcos20 commented Oct 25, 2024

Tasks:

Example of "DOCKER_COMPUTE_ENVIRONMENTS":

[
  {
    "cpuNumber": 2,
    "ramGB": 4,
    "diskGB": 10,
    "desc": "2Cpu,2gbRam - price 1 OCEAN/minute, max 1 hour",
    "maxJobs": 10,
    "storageExpiry": 36000,
    "maxJobDuration": 3600,
    "chainId": 1,
    "feeToken": "0x967da4048cD07aB37855c090aAF366e4ce1b9F48",
    "priceMin": 1
  },

  {
    "cpuNumber": 12,
    "ramGB": 24,
    "diskGB": 30,
    "desc": "12Cpu,24gbRam - price 2 USDT minute, max 1 day",
    "maxJobs": 10,
    "storageExpiry": 36000,
    "maxJobDuration": 86400,
    "chainId": 1,
    "feeToken": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
    "priceMin": 2
  }
]

Checks:

  • if there is a fee token, make sure that we have a price, and the other way around
  • check that storageExpiry is longer than maxJobDuration
  • etc
@paulo-ocean paulo-ocean self-assigned this Nov 4, 2024
@paulo-ocean
Copy link
Contributor

this is part of #705

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants