Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
21 views

Unable to update Node.js in pre-built Docker container

I have a project that's inside a pre-built docker container which uses Node v14. I have been let know that the container was pulled like this a long time ago: docker pull node:20-alpine.. but not much ...
Psypher's user avatar
0 votes
0 answers
34 views

Resolving ECONNREFUSED Errors in Docker Compose with Next.js, Payload CMS, and MongoDB

I'm working on a project that involves setting up a multi-container environment using Docker Compose. The setup includes a Next.js application (blueastowel), a Payload CMS backend (payload), and a ...
sayinmehmet47's user avatar
0 votes
1 answer
19 views

postgres database connected but table relations not found when running nodejs typescript api in a docker container

i wrote a basic api with typescript in nodejs which runs fine when started with the start script "node dist/index.js", but after dockerizing it, the database seems to have been connected ...
Aditi Polkam's user avatar
-2 votes
0 answers
74 views

Error while Creating docker image, ERROR: failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 1

ERROR: failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 1 FROM node:slim WORKDIR /usr/src/app COPY package.json yarn.lock ./ RUN yarn install COPY ...
ASIF KAIF's user avatar
  • 387
0 votes
1 answer
22 views

MongoDB Authentication failes for any user

I'm using docker compose to pull up a MongoDB container and a simple Node CRUD app, really nothing fancy. The containers come up and seem to work so far, but when I try to enable authentication and ...
Oidipous_REXX's user avatar
0 votes
2 answers
76 views

MongoDB Authentication Issues with Node.js and Mongo-Express in Docker Compose setup

I was trying to use docker in a project I built a while back and I'm having trouble with MongoDB authentication when using Docker Compose. Here's my docker-compose.yml: services: web: build: . ...
weaver's user avatar
  • 13
0 votes
1 answer
55 views

Difficulty in dockerizing a microservice which is already using redis container

I am using bullmq in that microservice and due to which I am using redis, now the issue is that now when I am trying to dockerize this microservice I am unable to do it as I am inexperienced so I can'...
Preet Khatri's user avatar
0 votes
0 answers
19 views

Sequelize in Docker Container Fails to Connect to PostgreSQL Database - ECONNREFUSED Error

I’m facing an issue where my user-service Docker container fails to connect to my PostgreSQL database container using Sequelize. I keep getting the ECONNREFUSED error, and I’ve tried multiple steps to ...
Ghost's user avatar
  • 1
1 vote
1 answer
38 views

How to correctly configure Angular such that it can run successfully behind Docker for development

I was looking for a better way to use the Multi-Stage Build process for my Angular Application. Fortunately, after consulting a couple of resources, I came across something I had thought would suffice ...
scruffycoder86's user avatar
0 votes
1 answer
81 views

docker compose volumes for a nextjs project does not appear in the host

My intention is to allow people to work in the project only using Docker (and compose) if they don't want to install node locally. Also all the deps must be installed and updated using Docker. My ...
Alejandro Bar's user avatar
0 votes
1 answer
51 views

Nestjs problem to conntect RabbitMQ in Docker

I would be glad if you could help me with the question of connecting RabbitMQ and Node js (nest js). Everything works locally, but when using docker-compose. It turns out that authorization is ...
Nik's user avatar
  • 11
0 votes
1 answer
56 views

Unable to connect redis/redis-stack with Node.js

I am following this documentation https://hub.docker.com/r/redis/redis-stack to connect to redis with Node.js. However, I keep getting this warning in my logs redis-stack-1 | 9:M 09 Jun 2024 03:12:50....
desh's user avatar
  • 681
1 vote
1 answer
77 views

WebSocket Connection Fails in docker client but not in local / container

Context I'm working on a React client app for a chat app using rabbitmq, ws, docker, docker compose, react-use-websocket. repository here Problem The Websocket connection fails from the browser of the ...
hugo_HDSF's user avatar
  • 182
0 votes
1 answer
27 views

Sequelize in test files doesnt get test environment

I´m using sequelize as ORM and jest for testing. Im running two databases currently with docker compose (test and development). Environment variables are correct in console.log. For one rease Database ...
Tomi1368's user avatar
0 votes
0 answers
41 views

Unable to connect to MySQL database: ConnectionRefusedError [SequelizeConnectionRefusedError]: connect ECONNREFUSED 172.20.0.2:3306

I running docker compose but for some reason i cant figure out, the node_server container cannot run, it keep exiting due the above error. Here is my docker compose files services: mysqldb: ...
TeddPaul13's user avatar

15 30 50 per page
1
2 3 4 5
112