Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container exits without failure #529

Open
faradaytrs opened this issue Feb 20, 2025 · 4 comments
Open

Docker container exits without failure #529

faradaytrs opened this issue Feb 20, 2025 · 4 comments

Comments

@faradaytrs
Copy link

faradaytrs commented Feb 20, 2025

Please read this entire template before posting any issue. If you ignore these instructions
and post an issue here that does not follow the instructions, your issue might be closed,
locked, and assigned the missing discussion label.

🐛 Bug Report

We are using the container in docker environment, it exits almost immediately after start

Image

To Reproduce

Steps to reproduce the behavior:

We are providing the following env configuration. (Real tokens removed)

Paste your code here:

NODE_ENV=production
PORT=3000
TURBO_TOKEN=
STORAGE_PROVIDER=
STORAGE_PATH=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=us-east-1
S3_ENDPOINT=
BODY_LIMIT=1073741824

Expected behavior

It shouldn't exit and listen to the port

Your Environment

  • OS: Linux
  • Cloud Vendor: AWS (DO SPACES)
  • Turbo Version: 2.3.1 (but i believe it was the same for 2.3.0)
  • any other relevant information
@matteovivona
Copy link
Contributor

From what I can see, the system running the container has decided to stop the container.
It should have nothing to do with the turborepo remote cache server. I have 2 different instances running smooth on Render and Kubernetes

@faradaytrs
Copy link
Author

Okay i will try to investigate next week, it's strange because we clearly didn't stop anything.

@faradaytrs
Copy link
Author

I wonder do you have healthcheck inside? Is it possible that it's reported that container is unhealthy?

@matteovivona
Copy link
Contributor

Yes, I use Kubernetes probes and Render healthcheck pointing to /health

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants