I am trying to deploy the backstage application connected with postgres but im getting the below error:
Backend failed to start up Error: Failed to connect to the database to make sure that 'backstage_plugin_catalog' exists, Error: connect ECONNREFUSED 127.0.0.1:5433
app-config: -
database:
client: pg
connection:
host: localhost
port: 5433
user: postgres
password: someSecret
Docker Compose:
services:
backstage:
image: backstage:4.5
restart: always
container_name: backstage
ports:
- 7007:7007
networks:
- backstage_network
postgres:
image: postgres
restart: always
container_name: postgres
ports:
- 5433:5432
volumes:
- postgres_data:/var/lib/postgres/data
environment:
- POSTGRES_PASSWORD=someSecret
networks:
- backstage_network
Anyone got an idea whats missing and how to setup backstage_plugin_catalog
@undone owl