Skip to content

[Bug]: App deployment Digital Ocean not working #769

@merijnponzo

Description

@merijnponzo

Link to the documentation page or resource

https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/digitalocean-app-platform.html#configure-your-strapi-project-for-deployment

Describe the bug

I followed literally the manual for an app deployment on digital ocean but it gives me a Deploy Error: Non-Zero Exit Code:

error: connect ECONNREFUSED 127.0.0.1:5432

My strapi app is a clean strapi install
https://github.com/merijnponzo/pf_strapitest

  • i choose the Basic Plan with a development database
  • my database is called 'db'
  • the region is amsterdam
alerts:
- rule: DEPLOYMENT_FAILED
- rule: DOMAIN_FAILED
databases:
- engine: PG
  name: db
  num_nodes: 1
  size: db-s-dev-database
  version: "12"
name: pf-strapitest
region: ams
services:
- build_command: NODE_ENV=production npm run build
  environment_slug: node-js
  envs:
  - key: DATABASE_URL
    scope: RUN_AND_BUILD_TIME
    value: ${db.DATABASE_URL}
  github:
    branch: main
    deploy_on_push: true
    repo: merijnponzo/pf_strapitest
  http_port: 8080
  instance_count: 1
  instance_size_slug: basic-xs
  name: pf-strapitest
  routes:
  - path: /
  run_command: NODE_ENV=production npm start
  source_dir: /

Additional context

No response

Suggested improvements or fixes

No response

Related issue(s)/PR(s)

No response

Metadata

Metadata

Assignees

Labels

pr: fixUsed on the docs repo for anything that is not "new" or "updated" content: chore, typos, fixes, etc.source: Dev DocsPRs/issues targeting the Developer Docsstatus: pending reproductionWaiting for free time to reproduce the issue, or more informationtarget: v4Documentation PRs/issues targeting content from docs.strapi.io (main branch).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions