Postgresql database for storing packit web app data.
./scripts/build
- build and push the db docker image./scripts/run
- run the image created in step 1. and import the schema.
For basic auth superadmin may be needed, where the credentials are stored in the vault.(secret/packit/basicauth).
This user is created automatically when the run command is executed with the basicauth
argument.
This can be to insert test data or just for testing.
./scripts/runQuery "{SQL_QUERY}"
Now this super user can be used to create users and log in initially.