feat: add db initialization
This commit is contained in:
parent
89d2710c19
commit
13c24e8bf0
2 changed files with 3 additions and 2 deletions
|
|
@ -7,5 +7,6 @@ Commits that do not comply with the conventions will be rejected.
|
||||||
|
|
||||||
Prerequisites for developers are:
|
Prerequisites for developers are:
|
||||||
|
|
||||||
- docker and docker-compose
|
- podman
|
||||||
- postgresql-client
|
- postgresql-client
|
||||||
|
- sqlx
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ then
|
||||||
-e POSTGRES_PASSWORD=${DB_PASSWORD} \
|
-e POSTGRES_PASSWORD=${DB_PASSWORD} \
|
||||||
-e POSTGRES_DB=${DB_NAME} \
|
-e POSTGRES_DB=${DB_NAME} \
|
||||||
-p "${DB_PORT}":5432 \
|
-p "${DB_PORT}":5432 \
|
||||||
-d postgres \
|
-d docker.io/postgres \
|
||||||
postgres -N 1000
|
postgres -N 1000
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue