From 13c24e8bf062a8a7c52c03d0056c998ef276ebb3 Mon Sep 17 00:00:00 2001 From: Sandro Eiler Date: Mon, 25 Dec 2023 16:56:26 +0100 Subject: [PATCH] feat: add db initialization --- README.md | 3 ++- scripts/init_db.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f40796d..5c3ffc0 100644 --- a/README.md +++ b/README.md @@ -7,5 +7,6 @@ Commits that do not comply with the conventions will be rejected. Prerequisites for developers are: -- docker and docker-compose +- podman - postgresql-client +- sqlx diff --git a/scripts/init_db.sh b/scripts/init_db.sh index 3f37c0e..3605d2f 100755 --- a/scripts/init_db.sh +++ b/scripts/init_db.sh @@ -28,7 +28,7 @@ then -e POSTGRES_PASSWORD=${DB_PASSWORD} \ -e POSTGRES_DB=${DB_NAME} \ -p "${DB_PORT}":5432 \ - -d postgres \ + -d docker.io/postgres \ postgres -N 1000 fi