Best services/methods to correctly deploy the template? (AWS, Supabase, etc) #1169
Unanswered
josephna76
asked this question in
Questions
Replies: 1 comment 2 replies
-
Hey there, you might want to see: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
I ran the project locally with the following and got both the websocket and http routes to work.
Description
I'm looking for thoughts on the best way to deploy this dockerized template (which includes websocket routes). Was there a deployment service/method that @tiangolo had in mind when creating this template?
For my example, fastapi is the "backend" api, which serves separate ios/android/web apps. Along with the typical https (post, get) routes, I also have websocket routes (wss). I was able to get the websocket route to work properly on my local computer/ios simulator with the configuration above.
I was originally going to run the app on aws lambdas, with the database separated out into a separate service, but read online that lambdas doesn't support wss out of the box and requires aws api gateway.
Another method I was considering was to use a service like supabase, which apparently also supports streaming in beta.
tl;dr: I'm nervous to architecture my own solution given the features already in place in the template and want to leverage said features in the best possible way when deploying.
Operating System
macOS
Operating System Details
Intel chip, not ARM.
Python Version
Python Version 3.12
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions