Questions tagged [digital-ocean]

DigitalOcean is a provider of cloud infrastructure and services. ONLY PROGRAMMING QUESTIONS ARE ON-TOPIC (e.g. questions about programming for the DigitalOcean API). Questions about DigitalOcean the company, administrating systems, customer service based question, etc. are off-topic for Stack Overflow.

DigitalOcean is an American cloud computing provider based in New York City.

The company leases capacity from existing data centers, including sites in New York, Amsterdam, San Francisco, London, Singapore, Frankfurt, Toronto, and Sydney. DigitalOcean allows users to quickly create virtual private servers, called "droplets" (), Kubernetes clusters (), and serverless Functions ().

DigitalOcean is highly accessible to students through the Github Student Education Pack. The company also publishes community tutorials on a variety of open source technologies.

Useful Links

3938 questions
10
votes
3 answers

Update nginx in ubuntu 14.04

In my server, nginx -v returns nginx version: nginx/1.4.6 (Ubuntu), it is very old, so I decided to update it to the latest stable version. Then, I followed this answer: sudo apt-get update sudo apt-get install nginx It gives: Reading package…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
10
votes
3 answers

Parse Dashboard can only be remotely accessed via HTTPS

I'm trying to deploy a Parse Server and Parse Dashboard on my DigitalOcean's server. I installed through docker-compose on this git: https://github.com/yongjhih/docker-parse-server When I access to it, http://rafael-ruiz.es:4040 it says: Parse…
Rafael Ruiz Muñoz
  • 5,333
  • 6
  • 46
  • 92
10
votes
7 answers

Meteor Up deployment, can't use meteor mongo --url

I've recently deployed my Meteor app to a Digital Ocean droplet running Ubuntu 14.04 x32. I used Meteor Up with this mup.json file: { // Server authentication info "servers": [ { "host": "mycorrecthostname", "username": "root", …
blaineh
  • 2,263
  • 3
  • 28
  • 46
9
votes
1 answer

docker-compose with remote host not working with ssh

I'm working with DigitalOcean, specicially the 1-click Docker droplet. Docker is running on the droplet, and the socket file is at /var/run/docker.sock on the droplet. I have docker and docker-compose also installed locally on my machine. I have a…
CodeOwl
  • 662
  • 2
  • 9
  • 23
9
votes
3 answers

Docker containers unable to connect to internet

I have a docker compose file that starts up few containers including prometheus, alertmanager and grafana. These containers are not able to connect to internet. I have tried multiple solutions but to no avail. I am on a digitalocean ubuntu…
thecodeboxed
  • 420
  • 1
  • 6
  • 17
9
votes
4 answers

Access external database from Kubernetes

I have a Kubernetes (v1.18.6) with 1 service (loadbalancer), 2 pods in a development: apiVersion: v1 kind: Service metadata: name: app-service spec: selector: app: app ports: - protocol: "TCP" port: 6000 targetPort: 5000 type:…
Francisco Gonzalez
  • 437
  • 1
  • 3
  • 15
9
votes
3 answers

How to use Digitalocean Spaces Subdomain with CloudFlare FREE SSL?

I am using Spaces S3 storage on DigitalOcean. To add a subdomain for my Spaces, an SSL certificate is required to be uploaded. I am trying to use the Cloudflare Free Edge SSL certificate, and forward my requests from my subdomain.company.com to…
K Manoj Kumar
  • 606
  • 5
  • 9
9
votes
1 answer

K8S: How to reach pod with SSH service (Gitea) over the same host ingress-nginx exposes as HTTP?

Currently practicing with Kubernetes (managed, on DO), I ran into a issue I couldn't resolve for two days. I have nginx-ingress setup along with cert-manager, and a domain where git.domain.com points to the IP of the load balancer. I can reach my…
Teecup
  • 91
  • 2
  • 3
9
votes
2 answers

ASP Net Core Linux ERR_CONNECTION_REFUSED

I'm testing net core app deployment to a Digitalocean droplet running Ubuntu 18.04 and Nginx 1.14. For testing, I'm using the templates available from 'dotnet new'. The dotnet new web and dotnet new mvc apps work fine. I'm able to reach them from…
IdusOrtus
  • 1,005
  • 1
  • 16
  • 24
9
votes
1 answer

Load Balancing Websockets on Digital Ocean

I am trying to configure Digital Ocean native Load Balancer for distributing websockets traffic. I set the rule: While trying to connect over load balancer, I am getting: VM915:1 WebSocket connection to 'ws://{loadbalancerip}:8443/' failed:…
Grigoryants Artem
  • 1,401
  • 2
  • 15
  • 32
9
votes
2 answers

npm install via Digital Ocean gets killed

I uploaded a repo to my Digit Ocean droplet about a year ago and tried to npm install without luck. I recently decided to give it a go again and try to get this figured out, but again, still getting the "Killed" error when I try to npm install. I…
Keith
  • 770
  • 1
  • 6
  • 17
9
votes
2 answers

How to setup routes with Express and NGINX?

I'm trying to configure an Express server with NGINX as a reverse proxy. NGINX to serve static files, and Express for the dynamic content. Problem : The normal root link works (website.com) , but when I navigate to (website.com/api), I get a 404…
Sai Datta
  • 895
  • 1
  • 9
  • 25
9
votes
1 answer

Autoscale workers on Digital Ocean

I have 3 Webservers. DB, Web and Worker. The worker is just processing sidekiq processes all day long. As soon the queue is over 100.000 jobs, I want to have a second worker instance and I do struggle a little bit with the right thinking of how to…
Tim Kretschmer
  • 2,272
  • 1
  • 22
  • 35
9
votes
3 answers

Kubernetes External Load Balancer Service on DigitalOcean

I'm building a container cluster using CoreOs and Kubernetes on DigitalOcean, and I've seen that in order to expose a Pod to the world you have to create a Service with Type: LoadBalancer. I think this is the optimal solution so that you don't need…
mateeyow
  • 1,306
  • 1
  • 17
  • 38
9
votes
1 answer

Using a pipe in cloud init runcmd fails

How can I use a pipe to redirect the output of a command in my runcmd section of my cloud init script? The following fails: runcmd: - [curl, -sk, https://example.com/packages/current/install.bash, '|', /bin/bash, -s, agent:certname=XYZ.com]…
anish
  • 6,884
  • 13
  • 74
  • 140