FMN: fix sendria and sender-email containers
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
96856df3e4
commit
a5a3f05999
3 changed files with 19 additions and 16 deletions
|
@ -40,6 +40,9 @@ spec:
|
|||
- name: web
|
||||
port: 1080
|
||||
targetPort: 1080
|
||||
- name: smtp
|
||||
port: 1025
|
||||
targetPort: 1025
|
||||
selector:
|
||||
app: fmn
|
||||
deploymentconfig: sendria
|
||||
|
|
|
@ -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" ]
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue