Questions tagged [node.js]
An open-source, cross-platform Javascript interpreter and run-time environment. Mostly used for server-side web-app programming and various command-line tools.
39
questions
0
votes
0
answers
10
views
Long image rendering time when using Grafana image renderer plugin
The following configuration is available:
Grafana and Grafana Image Renderer are installed as separate pods in the same k8s namespace, Grafana has access via Service to the Grafana image renderer pod, ...
0
votes
2
answers
123
views
Dockerhub says Hello World causes CVE-2023-5363 and CVE-2023-5678
Dockerhub says I have the vulnerabilities: CVE-2023-5363 and CVE-2023-5678, which is part of the openssl package.
See this image:
Does anyone know how I can resolve this issue? I've simplified my ...
0
votes
1
answer
731
views
Unable to install nodejs 20 in AWS codebuild image
I need to install nodejs 20 as part of a build process running on codebuild.
Steps to reproduce
- sudo apt purge nodejs -y
- sudo apt-get install -y ca-certificates curl GnuPG
- export NODE_MAJOR=20
- ...
0
votes
0
answers
126
views
Can't get connected to mysql db using sequelize and docker
I am Trying to connect to Mysql database using docker-compose in node.js
ConnectionRefusedError [SequelizeConnectionRefusedError]: connect ECONNREFUSED 192.168.32.2:3306
here is how my docker-...
6
votes
1
answer
2k
views
Can I use Bitnami Helm Chart to deploy Redis Stack?
Background
Currently, I am deploying a redis container using the [redislabs/redismod] (https://hub.docker.com/r/redislabs/redismod) image in the same pod as the application (nodejs). We are utilizing ...
2
votes
1
answer
669
views
Docker Compose: How do you build an image while running another container?
I'm trying to build a Nuxt 3 application using docker compose. However, I'm having trouble with docker compose and dockerfile configuration.
Context
To give background on the project that I'm working ...
0
votes
1
answer
352
views
The best practice to set up cpanel with mongoDB on a cloud server!
I'm trying to set up my cloud server so i can run an app made with nodeJs and mongoDB, now for nodeJs my setup is to deploy it using cpanel on a cenos 7 os and since cpanel does not really support ...
0
votes
1
answer
470
views
Pass variables form current shell environment to the node app
Please help me somebody with passing variables to node app.
Given:
node app on ubuntu
package.json contains
scripts {
start: node index.js
}
The app is started with command
npm run start
Problem:
...
0
votes
1
answer
70
views
How can I create a dev. environnement using Azure DevOps?
I'm not sure if it's the right place to ask this question. So let me know, if it's not.
I'm building a front end app with VueJs. I actually use 2 computer. I use the first computer as a "server&...
0
votes
1
answer
230
views
ingrex-nginx in kubernetes with express node.js does not return req.currentUser
This is currentUser middleware:
export const currentUser = (
req: Request,
res: Response,
next: NextFunction
) => {
if (!req.session?.jwt) {
return next();
...
2
votes
1
answer
1k
views
Why is it necessary to have virtual machines to run multiple server instances?
I'm trying to learn about virtualization and containers. In an educational video it is said that the introduction of virtual machines was a big deal because it made companies available to run multiple ...
0
votes
1
answer
764
views
Getting a 502 Bad Server Request on Nginx [closed]
I'm trying run the frontend (react) and a backend (nodejs, express) from a same ubuntu 20.4` machine but for some reason my nginx is not mapping correctly. I don't know if I have a typo somewhere or ...
0
votes
1
answer
547
views
RUN fails while installing Angular on Ubuntu Image
I am trying to create an image for my angular application for running unit and e2e tests. I started from the ubuntu image and then installed the other components. My dockerfile has the following ...
0
votes
2
answers
776
views
Dockerized node.js and bind mount permission problem
I have an interesting problem with node, docker-compose and local development using bind mounts.
I have a bind mount volume, called www-public, owned by my host node user (I created a node user and ...
1
vote
1
answer
195
views
GitLab keeps loading and finally fails when deploying a dockerized node.js app
GitLab Job Log
[0KRunning with gitlab-runner 13.2.0-rc2 (45f2b4ec)
[0;m[0K on docker-auto-scale fa6cab46
[0;msection_start:1595233272:prepare_executor
[0K[0K[36;1mPreparing the "docker+machine&...