JustinR
JustinR
TTCTheo's Typesafe Cult
Created by JustinR on 4/26/2024 in #questions
t3 env doesn't seem to work with docker compose build
I'm working to validate my application before pushing it to my CI/CD pipeline. I keep getting failed docker builds because it can't find my environment variables, I'm using the recommended dockerfile in the t3 documentation to build the container
app:
build:
context: .
env_file:
- .env
ports:
- 3000:3000
app:
build:
context: .
env_file:
- .env
ports:
- 3000:3000
I'm passing in all my env variables via .env file that is on the root directory, I know the compose is reading it because I use the same pattern to run my DB and set up it's username and password with it.
Here is an example of the error
[Error]: Missing `UPLOADTHING_SECRET` env variable.
[Error]: Missing `UPLOADTHING_SECRET` env variable.
Has anyone run into this issue?
2 replies
TTCTheo's Typesafe Cult
Created by JustinR on 11/19/2023 in #questions
Uploadthing Get failing on Vercel
Working on an app the last 4 days and everything's been working great but when I deployed to Vercel. It looks like the GET handler from Uploadthing isn't responding in time causing a timeout. Looking at the logs on Vercel (pics in the comments) I'm getting the file to Uploadthing but my servers GET handler is hanging causing the error to fire
Any advice would be great, thank you for your time!
6 replies