N
Novu4w ago
MrD

4200 doesn’t work

Hello, Help! After following the steps in the "Quick Start Docker" section, the web is not launching on port 4200, and overall, the web container is not starting up. https://drive.google.com/file/d/1tUCIxXfRnQlSL0ZxObnlx5F88LUo_dxM/view?usp=sharing
5 Replies
Ask Inkeep
Ask Inkeep4w ago
Hi @MrD, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Deploy with Docker * AWS * MacOS/Linux * Kubernetes ----------------------------- Answer To resolve the issue of the web container not starting up and the web not launching on port 4200 after following the "Quick Start Docker" steps, you can try the following solutions: 1. Ensure Correct File Locations and Commands: Make sure you are navigating to the correct directory and using the correct commands as mentioned in the documentation. Here's a summary:
cd novu/docker
cp .env.example ./local/deployment/.env
docker-compose -f ./local/deployment/docker-compose.yml up

cd novu/docker
cp .env.example ./local/deployment/.env
docker-compose -f ./local/deployment/docker-compose.yml up

After running these commands, visit http://localhost:4200 to start using Novu (1) . 2. Check for Errors: Look at the logs for any errors that might indicate what is going wrong. You can view the logs by running:
docker-compose -f ./local/deployment/docker-compose.yml logs

docker-compose -f ./local/deployment/docker-compose.yml logs

This can provide insights into why the web container is not starting properly. 3. Environment Variables and .env Configuration: Make sure that you have correctly configured the .env file with your own secrets and not using the default ones provided in the example. The following environment variables are required: - JWT_SECRET - STORE_ENCRYPTION_KEY - HOST_NAME Double-check that HOST_NAME is set to your server's IP or domain if you are not running it on localhost . 4. Container Cleanup: Sometimes, existing containers and volumes might cause issues. Try removing them and starting fresh:
docker-compose -f ./local/deployment/docker-compose.yml down
docker-compose -f ./local/deployment/docker-compose.yml up --build

docker-compose -f ./local/deployment/docker-compose.yml down
docker-compose -f ./local/deployment/docker-compose.yml up --build

Ask Inkeep
Ask Inkeep4w ago
5. Additional Troubleshooting: If the issue persists, you might want to check if there are any known issues or solutions provided by the community. One user reported a similar problem and resolved it by ensuring everything was wiped clean before restarting: - Wipe containers, images, and volumes - Clone the Novu repository again - Set up the .env file - Start the containers (2) Try these steps and let me know if the issue persists. If it does, we might need more details from the logs to provide further assistance.
MrD
MrD4w ago
There is no deployment folder in your git…
Ask Inkeep
Ask Inkeep4w ago
Got it. Tagging @Support for additional help.
Pawan Jain
Pawan Jain3w ago
We recently changed docker-compose yml file path from local/deployment to docker/community I just updated docs https://docs.novu.co/self-hosting-novu/deploy-with-docker Sorry for inconvenience
Want results from more Discord servers?
Add your server
More Posts