bluesky-social / feed-generator

ATProto Feed Generator Starter Kit
MIT License
919 stars 329 forks source link

Added simple dockerfile and compose #59

Open jatocode opened 1 year ago

jatocode commented 1 year ago

I wanted to run my feed as a docker service for better control. Created a simple Dockerfile and a matching docker-compose.yml that seems to to the trick

NetWalker108 commented 1 year ago

Naive question: What does better control entail?

jatocode commented 1 year ago

Naive question: What does better control entail?

I'm running the feed generator on my own server with lots of other stuff.

If I instead of running yarn/node directly on the server but in a container I have more control of the security. Now if there is a security issue somewhere in the feed generator code, it will have impact on the container, not my server.

NetWalker108 commented 1 year ago

Ah I see , thanks for this. I too have been running a feed generator on a VPS and have also experienced certain conflicts/issues from running yarn/node directly on the server.

I think this PR would be helpful for running a feed generator and I think it'll make the process work the same way the PDS service does.

jeffgca commented 7 months ago

Yes please! In particular this would make feeds more plug-n-play with services like Digitl Ocean's app platform.