FMN: fix sendria and sender-email containers

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-11-22 12:51:22 +01:00
parent 96856df3e4
commit a5a3f05999
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
3 changed files with 19 additions and 16 deletions

View file

@ -40,6 +40,9 @@ spec:
- name: web
port: 1080
targetPort: 1080
- name: smtp
port: 1025
targetPort: 1025
selector:
app: fmn
deploymentconfig: sendria

View file

@ -7,4 +7,4 @@ RUN mkdir -p .config/sendria
RUN echo "[sendria]" > .config/sendria/config.toml
RUN mkdir data
ENV HOME=/home/sendria
ENTRYPOINT [ "sendria", "--foreground", "--db=./data/mails.sqlite", "--smtp-ip=0.0.0.0", "--http-ip=0.0.0.0" ]
ENTRYPOINT [ "/home/sendria/.local/bin/sendria", "--foreground", "--db=./data/mails.sqlite", "--smtp-ip=0.0.0.0", "--http-ip=0.0.0.0" ]

View file

@ -275,14 +275,14 @@ spec:
- name: etc-fmn
mountPath: "/etc/fmn"
readOnly: true
- name: rabbitmq-ca-volume
mountPath: /etc/pki/rabbitmq/ca
- name: fedora-messaging-ca-volume
mountPath: /etc/pki/fedora-messaging/ca
readOnly: true
- name: rabbitmq-key-volume
mountPath: /etc/pki/rabbitmq/key
- name: fedora-messaging-key-volume
mountPath: /etc/pki/fedora-messaging/key
readOnly: true
- name: rabbitmq-crt-volume
mountPath: /etc/pki/rabbitmq/crt
- name: fedora-messaging-crt-volume
mountPath: /etc/pki/fedora-messaging/crt
readOnly: true
env:
- name: APP_SCRIPT
@ -291,15 +291,15 @@ spec:
- name: etc-fmn
configMap:
name: fmn
- name: rabbitmq-ca-volume
mountPath: /etc/pki/rabbitmq/ca
readOnly: true
- name: rabbitmq-key-volume
mountPath: /etc/pki/rabbitmq/key
readOnly: true
- name: rabbitmq-crt-volume
mountPath: /etc/pki/rabbitmq/crt
readOnly: true
- name: fedora-messaging-ca-volume
secret:
secretName: fedora-messaging-ca
- name: fedora-messaging-key-volume
secret:
secretName: fedora-messaging-key
- name: fedora-messaging-crt-volume
secret:
secretName: fedora-messaging-crt
triggers:
- type: ImageChange
imageChangeParams: