Lilypad-Tech / lilypad

Run AI workloads easily in a decentralized GPU network. https://www.youtube.com/watch?v=yQnB2Yxia4Y
https://lilypad.tech
Apache License 2.0
52 stars 16 forks source link

feat: add docker compose for RPs #404

Closed walkah closed 1 month ago

walkah commented 1 month ago

Summary

Adds a docker compose file to be used by RPs that runs the resource-provider docker image and kubo

Task/Issue reference

Closes: https://github.com/Lilypad-Tech/internal/issues/322

Rodebrechtd commented 1 month ago

I believe there are two additional things to consider:

  1. adding an environment variable for RPC in the Docker Compose file
  2. defining a third container for Watchtower in the same Docker Compose setup. See: https://docs.lilypad.tech/lilypad/hardware-providers/run-a-node/docker#:~:text=docker%20run%20%2Dd%20%2D%2Dname%20lilypad%2Dwatchtower%20%2D%2Drestart%20always%20%2Dv%20/var/run/docker.sock%3A/var/run/docker.sock%20containrrr/watchtower%20lilypad%2Dresource%2Dprovider%20%2D%2Dinterval%20300

When it's ready, I can test it directly in production on the resource provider I already have