I have large Kubernates jobs which take the whole resources of one node / droplet in Digitalocean. Using resources in a deploy.yaml, the cluster autoscaler works to scale up, but sometimes the nodes continue to run instead of killing / scaling down when the job is done. How do I make sure the nodes get ..
I’m looking at how to create a digitalocean firewall for my docker container. I know how to create a rule for TCP port 5432. However I still want to connect using pgadmin. How can I only allow local connections, and two connections from the IP address of a couple of specific computers? Source: Docker..
I am trying to setup up guacamole in a Digital Ocean Droplet (Ubuntu 18.04). I followed the steps provided in https://computingforgeeks.com/install-and-use-guacamole-on-ubuntu/ to setup guacamole and used Postgresql to authenticate guacamole by following the instructions provided in https://guacamole.apache.org/doc/gug/jdbc-auth.html#idm46227496294336. The installation got over and I am able to access the webpage at http://droplet-ip:8080/guacamole, but when I try ..
I am trying to deploy my nx mono repo to digital ocean, but the deployment fails. The app is an nxmono repo containing two apps, one backend (nestjs) the other one frontend(nextjs). I get following error message: > error building image: error building stage: failed to optimize > instructions: failed to get files used from ..
I am hosting my website http://apgiiit.com/ on Digital Ocean cloud using docker containers. Site is build using Express and MongoDB. But, it seems when I run docker-compose down command all of my database data is getting wiped out somehow. I have no idea why this is happening. Any help would be greatly appreciated. Here’s my ..
I hope one of you can help me with an answer to this problem I have. I am currently deploying a website to DigitalOcean using Docker and I have decided to use Strapi for content creation. Creating and setting up everything works fine, but after a while when I go to log in on the ..
I have Droplet A and Droplet B running Django and Redis respectively. They’re both on a VPC on digital ocean, and have public, and private ip addresses. Below is my redis docker-compose. I’m trying to map the container redis port, to the host port, so I can connect to it via the VPC. redis: restart: ..
I have a Kubernetes cluster on Digitalocean where www.example.com points to my Next.js application. This works as expected, however it serves all the assets from that same pod where my Next.js is running: https://www.example.com/_next/static/chunks/webpack-16e102404d6e7c36f3ae.js https://www.example.com/_next/static/chunks/framework-852c1b21255b4351ab3d.js and so on. Now I would like to serve these static files from a CDN instead, so I started researching ..
I am running into an issue where my deployment logs are showing an error where it can’t find the package.json. I believe this has to do something with the volumes I defined but I can seem to debug this. Dockerfile For Backend FROM node:14.16.0-alpine3.13 RUN addgroup app && adduser -S -G app app RUN mkdir ..
I am using GitHub Actions to trigger the building of my dockerfile, it is uploading the container to GitHub Container Registry. In the last step i am connecting via SSH to my remote DigitalOcean Droplet and executing a script to pull and install the new image from GHCR. This workflow was good for me as ..