docker-postfix/helm/test_4_common_config.yml
Bojan Čekrlić ab725f5c40 Fix for #40: Add healthcheck to Dockerfile
`HEALTHCHECK` instruction has been added to `Dockerfile`. This should
allow `docker-compose` installations to monitor and restart the
container if neccessary.

Kubernetes deployment healthcheck has been tweaked a bit to better
validate that the server is actually running.
2020-11-03 11:58:10 +01:00

40 lines
630 B
YAML

autoscaling:
enabled: true
maxReplicas: 4
resources:
limits:
cpu: 50Mi
memory: 100Mi
requests:
cpu: 10m
memory: 50Mi
config:
general:
TZ: Europe/London
ALLOWED_SENDER_DOMAINS: example.org
postfix:
myhostname: localhost
opendkim:
RequireSafeKeys: yes
extraEnv:
- name: HELLO
value: WORLD
extraVolumeMounts:
- mountPath: /etc/opendkim/keys
name: opendkim-keys
extraVolumes:
- name: opendkim-keys
persistentVolumeClaim:
claimName: opendkim-keys-claim
persistence:
enabled: true
accessModes:
- ReadWriteOnce
size: 128Mi
storageClass: "demo-demo"