whythawk / full-stack-fastapi-postgresql

Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Nuxt3, Docker, automatic HTTPS and more.
MIT License
231 stars 47 forks source link

Documentation is not clear on Droplets #24

Closed roland-jungwirth closed 1 year ago

roland-jungwirth commented 1 year ago

I am trying to deploy the "default" stack to DigitalOcean. After reading the documentation - https://github.com/whythawk/full-stack-fastapi-postgresql/blob/master/docs/deployment-guide.md - it is not clear whether this is running on just one Droplet, or whether I need to set up two (one as a Swarm manager and one as a worker)?

Also, in regards to the "neo4j" comment - is this for the manager or the worker?

turukawa commented 1 year ago

Hi @roland-jungwirth

You should deploy to a single droplet. I've never tried splitting it, so can't advise as to how to go about doing that.

Re the neo4j comment, I'm assuming you mean for scaling the droplet? That's for the whole image which runs Java. If you know a more frugal image or setup, go for it, but out of my skillset.

I deployed a default version on a single 4Gb droplet at https://whyqd.com, if you want to see one running.

roland-jungwirth commented 1 year ago

Hi @turukawa , thank you, that helps.