dante4rt / fintopio-airdrop-bot

An automation bot to complete tasks, check in daily, and farm on Fintopio for airdrop rewards.
https://t.me/HappyCuanAirdrop
MIT License
37 stars 17 forks source link

feat: Add Docker Compose for Fintopio-bot with resource limits #3

Closed troublescope closed 2 months ago

troublescope commented 2 months ago

This PR introduces a Docker Compose configuration to simplify the deployment and management of the Fintopio-bot container. Key changes include:

These changes will help in optimizing the container's resource usage and simplify development and deployment workflows.

dante4rt commented 2 months ago

This PR introduces a Docker Compose configuration to simplify the deployment and management of the Fintopio-bot container. Key changes include:

  • Added a docker-compose.yml file to manage the container lifecycle.
  • Set resource limits:

    • CPU usage is capped at 0.25 cores.
    • Memory usage is limited to 100MB.
  • Configured the app service to run npm start with the appropriate arguments.

These changes will help in optimizing the container's resource usage and simplify development and deployment workflows.

Cool, thanks for the PR! 👍🏻