Skip to content

Mailhog

This module creates an instance of mailhog. Data is stored in memory only so messages will disappear after a pod restart.

The following snippet lists all available configuration options alongside their default values:

(import 'cloudflight-libsonnet/applications/mailhog.libsonnet')
+ {
  _config+: {
        mailhog: {
          name: 'mailhog',
          image: 'docker.io/anatomicjc/mailhog:1.0.1',
          host: error '$._config.mailhog.host must be defined',
          resources:: {
            limits: {
              cpu: '20m',
              memory: '64Mi',
            },
            requests: {
              cpu: '10m',
              memory: '64Mi',
            },
          },
        },

  }
}

Last update: 2023-01-30