I was wondering if it’s possible to call the functions of a Node.js app (the Controller app) from an API (API will also be written in Node.js) ? My use case is that I need to have multiple controllers for an IOT project I’m developing and each room of the house should have a Controller ..
My api has to access an image located in a directory on host server, store it in another directory and access the whole directory multiple times in the host server. Currently when I run the api on docker container and it tries to access an image present in a directory on the host, I get ..
i created three projects in harbor by using harbor API. while i am trying to create retention rule to keep the last 3 images pushed for a given repository. projects created but, in retention policy somewhere i am getting error like mismatch selectors. i tried in several ways to find out but not getting the ..
I have a very simple docker setup – React WebApp (admin panel) and .netCore Customer Api, they connected to bridge network. I am actually creating a health check monitor. both containers are connected and i am able to ping via ip and container name without any issues. when i curl the health check endpoint it ..
I’m developing an API with NodeJS, and I’ve recently updated the certificate. The certificate is valid, but my API shows me an error saying that the certificate is not valid while at the same time it shows the right expiration date. valid: false, validFrom: ‘2021-07-12T08:50:22.000Z’, validTo: ‘2021-10-10T08:50:21.000Z’, validFor: [ ‘*.domain.com’ ] } Environment: My API ..
I have inherited an existing API component testing framework (Java) which works by firing up a docker with the API running in it, and a second with a Wiremock server which is mocking the end data-source. The tests are written with JUnit5. The dockers are fired up using Gradle composeUp, not specifically in my code. ..
For example I have an Alpine image pulled from Dockerhub. Just by using docker pull alpine. It was tagged with current date (let say 2019-12-12). So now I want to update the image but first I want to check the last updated date for the latest or newest version before pulling it. For local image ..
I’m trying to play with the docker API The workflow of my application is the following : A user register text files are copied on my disk to /tmp/userdir-random-uuid Then the user launch a function that calls the docker api : It create a network ( ok ) it create a container with binding /tmp/user-dir-random-uuid ..
My problem is: I made a simple web page with Next.js. I take some content from /pages/api/ endpoints with JSON format and show it in pages and components. Compiling locally (npm run dev or npm run start) is fine. When I run it on Docker on Windows 10, I don’t have a problem again. The ..
I am trying to deploy an open source project (https://github.com/LiteFarmOrg/LiteFarm) on local host through docker composer and i have followed the instructions provided in the link, the app is a node.js app with frontend in react.js i have provided the (google_api_key) for the map to work in the application in the ".env" file but i ..