DbAudit has multiple installation options. For a quick start, follow the instructions below:

Docker Compose

docker-compose -f docker/docker-compose.yml -p dbaudit up

The command starts up a self contained service consisting of a PostgreSQL database and DbAudit app.

Docker (Bring Your Own Database)

DbAudit uses a PostgreSQL database to store metadata. If you want to use your own database, setup environment variables and use docker run.

docker run -d -p 3145:3145 \
--env DBAUDIT_USER=<database user> \
--env DBAUDIT_PWD=<password> \
--env DBAUDIT_DB=<postgresql database> \
--env DBAUDIT_SCHEMA=<database schema> \
--env POSTGRESQL_HOSTNAME=<hostname of postgresql instance> \
--env POSTGRESQL_PORT=<port of postgresql instance \

Next Steps

Visit http://localhost:3145 to start using the application.