D
Dokploy8mo ago
Sergei

App ignore .env

Hello! I Come up against during deploy LibreChat via Dokploy.
I get follow error: Bind for 0.0.0.0:3000 failed: port is already allocated The main point, LibreChat don't use 3000 port by default. I think, Dokploy ignore .env settings, but I can't what I do wrong. I have tried next options: 1. Deploy from my private git repo with prepared .env 2. CopyPaste all from my prepared .env in Environment Settings in the compose app in Dokploy. In this cases I've got the same error, port is already allocated I don't have the same problem locally or without Dokploy. Could you help me, please?
GitHub
GitHub - danny-avila/LibreChat: Enhanced ChatGPT Clone: Features An...
Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, D...
3 Replies
𝗠𝗿𝟭𝗕𝗹𝗮𝘇𝗲
.env files you need to put in special label where name is enviroments
Siumauricio
Siumauricio8mo ago
I guess you are using docker compose, is not necessary to expose the port we explain here https://docs.dokploy.com/en/docs/core/troubleshooting/overview#docker-compose-domain-not-working
Overview
Solve the most common problems that occur when using Dokploy.
Sergei
SergeiOP8mo ago
It looks like that I need. Thank you so much!

Did you find this page helpful?