PostgreSQL

This script builds the PostgreSQL container that acts as the primary database for all Omniport apps and services.

[apps omniport-docker]$ ./scripts/build/postgres.sh

You will get the choice regarding the recreation of the database environment file. Affirm with a Y if you intend to rewrite it, else decline with any other character, primarily N.

Warning

If this is your first time building the container, choose Y. Choosing N can have adverse unwanted consequences.

If you choose to recreate the environment file, you will have to answer a questionnaire. Enter a database name, a username and a password for the database.

Remember to populate this database name, username and password in the Django project-level configuration file.