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
|
- name: web
|
||||||
port: 1080
|
port: 1080
|
||||||
targetPort: 1080
|
targetPort: 1080
|
||||||
|
- name: smtp
|
||||||
|
port: 1025
|
||||||
|
targetPort: 1025
|
||||||
selector:
|
selector:
|
||||||
app: fmn
|
app: fmn
|
||||||
deploymentconfig: sendria
|
deploymentconfig: sendria
|
||||||
|
|
|
@ -7,4 +7,4 @@ RUN mkdir -p .config/sendria
|
||||||
RUN echo "[sendria]" > .config/sendria/config.toml
|
RUN echo "[sendria]" > .config/sendria/config.toml
|
||||||
RUN mkdir data
|
RUN mkdir data
|
||||||
ENV HOME=/home/sendria
|
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
|
- name: etc-fmn
|
||||||
mountPath: "/etc/fmn"
|
mountPath: "/etc/fmn"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: rabbitmq-ca-volume
|
- name: fedora-messaging-ca-volume
|
||||||
mountPath: /etc/pki/rabbitmq/ca
|
mountPath: /etc/pki/fedora-messaging/ca
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: rabbitmq-key-volume
|
- name: fedora-messaging-key-volume
|
||||||
mountPath: /etc/pki/rabbitmq/key
|
mountPath: /etc/pki/fedora-messaging/key
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: rabbitmq-crt-volume
|
- name: fedora-messaging-crt-volume
|
||||||
mountPath: /etc/pki/rabbitmq/crt
|
mountPath: /etc/pki/fedora-messaging/crt
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
- name: APP_SCRIPT
|
- name: APP_SCRIPT
|
||||||
|
@ -291,15 +291,15 @@ spec:
|
||||||
- name: etc-fmn
|
- name: etc-fmn
|
||||||
configMap:
|
configMap:
|
||||||
name: fmn
|
name: fmn
|
||||||
- name: rabbitmq-ca-volume
|
- name: fedora-messaging-ca-volume
|
||||||
mountPath: /etc/pki/rabbitmq/ca
|
secret:
|
||||||
readOnly: true
|
secretName: fedora-messaging-ca
|
||||||
- name: rabbitmq-key-volume
|
- name: fedora-messaging-key-volume
|
||||||
mountPath: /etc/pki/rabbitmq/key
|
secret:
|
||||||
readOnly: true
|
secretName: fedora-messaging-key
|
||||||
- name: rabbitmq-crt-volume
|
- name: fedora-messaging-crt-volume
|
||||||
mountPath: /etc/pki/rabbitmq/crt
|
secret:
|
||||||
readOnly: true
|
secretName: fedora-messaging-crt
|
||||||
triggers:
|
triggers:
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
imageChangeParams:
|
imageChangeParams:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue