From f830dbf1897e860394998e7b04f6a839a578941d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuomas=20P=C3=B6yry?= Date: Mon, 26 Feb 2024 15:57:53 +0200 Subject: [PATCH] Fix PostgreSQL connect command --- README.md | 2 +- diploi-template.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8aada68..7c557cf 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,5 @@ You can optionally add a PostgreSQL DB to your project. Connect via CLI: ```bash -su postgres -c 'psql' +psql "postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB" ``` diff --git a/diploi-template.yaml b/diploi-template.yaml index 2da47ac..50408b4 100644 --- a/diploi-template.yaml +++ b/diploi-template.yaml @@ -41,7 +41,7 @@ parameterGroups: type: secret - name: Schema identifier: POSTGRES_DB - defaultValue: todo + defaultValue: astro type: string repositories: