MadaShindeInai
Explore posts from serversTTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
Well, the problem was with building and running image on mac m1.
Config (docker image) that works with Images too slow locally, works good on railway. And do not work on fly.io at all ☹️
6 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
upd. made an example repos:
T3(with issue): https://github.com/MadaShindeInai/t3-docker-sharp
BareNext(no issue): https://github.com/MadaShindeInai/next-docker-sharp
6 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
6 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
6 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
upd. created a clear next-app, copied images, installed sharp, add the same code for <Images />, built it with docker, everything works fine. The difference i see is that T3 latest version have next version 13.4.1 and create next app - 13.4.3.
Trying to check if updating next version helps
6 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 5/18/2023 in #questions
Chat with trpc / nextjs / vercel
https://discord.com/channels/966627436387266600/1106927247136411820
A bit more info about that
15 replies
TTCTheo's Typesafe Cult
•Created by Morraez on 5/13/2023 in #questions
T3 for a chat app
Interesting thing is how to make that ws connection protected, as it is external app.
17 replies
TTCTheo's Typesafe Cult
•Created by Morraez on 5/13/2023 in #questions
T3 for a chat app
Hmm, and what about building separate ws server in NodeJS, hosting it somewhere, and connecting to it from NextJS client (from component)?
I really do not want to leave Vercel, as deploying create-t3-turbo somewhere is a f..ken hell
17 replies
TTCTheo's Typesafe Cult
•Created by Morraez on 5/13/2023 in #questions
T3 for a chat app
Hmm, maybe server-side events can be somehow used for this purposes?
17 replies
TTCTheo's Typesafe Cult
•Created by Morraez on 5/13/2023 in #questions
T3 for a chat app
Hmm, looks like there are 2 ways: drop idea of building chat (build it as http / use 3-rd party embedded solution) or leave Vercel (welcome to the Docker world and getting lots of devops job)
17 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/13/2023 in #questions
Removing unused imports
Saw that in some issue. Tried, but it did not solve an issue. Will try one more tme
4 replies