mirror of
https://github.com/bokysan/docker-postfix.git
synced 2024-11-10 17:05:00 +08:00
ab725f5c40
`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.
40 lines
630 B
YAML
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"
|