All Questions
6,366
questions
0
votes
0
answers
9
views
Unable to Fetch Data from Backend Server in Next.js SSR Production with Docker
Issue
Frontend: Next.js
Backend: Express.js
While using Docker and running a Next.js server, I'm unable to fetch data from the backend server during Next SSR (Server-Side Rendering) in production. ...
1
vote
1
answer
36
views
ng not found error when building Angular project using dockerfile
I came into a very strange issue yesterday. I have been working on an Angular project and deploying using docker. Everything works fine till yesterday, all of sudden I cannot build the docker image. ...
1
vote
1
answer
198
views
Strange memory/IO errors when building nextjs/node app inside docker
I have Linux server with 1.3T of nvme ssd, and 64gb of ram memory.
There is production app based on latest nextjs and nod. So I have docker-compose with container for the frontend where I just copy ...
1
vote
0
answers
19
views
How to resolve elastic-apm-node APM Server transport error (ENOTFOUND) error
I've been trying to solve an issue when implementing Elastic APM in a microservice. The APM container (apm-server) is running in Docker. I have a NodeJs microservice (test-service), also deployed in ...
0
votes
0
answers
29
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 ...
0
votes
0
answers
39
views
Docker Build Fails Due to Network Connectivity Issue with Prisma (EAI_AGAIN)
I am experiencing a network connectivity issue while building a Docker image for my Node.js project, which uses Express and Prisma ORM to communicate with a PostgreSQL database. The error occurs ...
0
votes
0
answers
24
views
Docker Image Build with Local Packages
I saw some other questions that never answered this question.
I have a NextJs project that I am dockerizing. The projects uses a local dependency, which is a generated api client using the OpenAPI ...
0
votes
0
answers
15
views
Running skaffold dev suddenly started taking forever to build and spin up containers
So up until a week ago running 'skaffold dev' was working the way I expected. It would immediately start building my containers and deploying them and when I had updates to my code it would ...
0
votes
1
answer
29
views
Why can't I just quit after running a docker container in terminal/bash?
PS C:\Users\abhis\OneDrive\Desktop\projects\pay\backend> docker run -p 3000:3000 server
[email protected] start
nodemon index.js
[nodemon] 3.1.3
[nodemon] to restart at any time, enter rs
[nodemon] ...
0
votes
0
answers
22
views
Require multiple Node versions to conform to one version with Renovate
I have a project which has node defined in three separate places: The Docker image where I am importing my Node base image, in the engines property in the package.json and package-lock.json file and ...
0
votes
1
answer
62
views
My dockerfile for deploying my angular app doesnt start the app using a web server either nodeJs or nginx
i have finished my work on an angular project and i need to deploy it using docker , i followed the instructions and made sure that the dockerfile is correct using multiple sources .
i tried to use ...
0
votes
1
answer
18
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 ...
0
votes
0
answers
20
views
While running server.js in kubernetes pods getting errors connect ETIMEDOUT
Error connecting to the database server: Error: connect ETIMEDOUT
at Connection._handleTimeoutError (/usr/src/app/node_modules/mysql2/lib/connection.js:205:17)
at listOnTimeout (internal/timers.js:557:...
-2
votes
0
answers
59
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 ...
0
votes
0
answers
23
views
Node Js Backend, Database Queries Causing Memory Leak
I have a backend written in NodeJs. I am using a postgreSQL database. I am using docker to run containers. There is a problem I am encountering that the memory consumption of the backend container ...