Skip to main content

Configuration

Environment variables

You can configure the database at runtime using various environment variables:

  • DIAMOND__SERVER__HOST - host to listen for connections on (default: 0.0.0.0)
  • DIAMOND__SERVER__PORT - port to listen for connections on (default: 20010)
  • DIAMOND__CREDENTIALS__USER__PASSWORD - password for the main user (default: password)