PostgreSQL
This section describes how to start up an instance of a PostgreSQL Server database.
Creating a PostgreSQL Server instance.
Create a new instance of Bard.Db.PostgresDatabase
passing in the database name, username , password and port number.
Port number, and tagName are optional. If they are not supplied then the default value is
latest & 5432
Starting up the Database
To start the database instance simply call either. The result is the IP address of the host machine in case this is needed in the connection string.
This may take a little time the first time as Docker needs to download the image in the background.
Stopping the Database
To stop the database simply call.
Last updated