Fix password_file and remove readOnly for secrets dir
This commit is contained in:
parent
7778b1254b
commit
f363a5cdb4
@ -8,7 +8,7 @@ RUN apk --no-cache add dovecot dovecot-lmtpd dovecot-submissiond bash
|
||||
# RUN wget https://github.com/dovecot/docker/blob/main/2.3.21/dovecot.list
|
||||
# RUN cp dovecot.list /etc/apt/sources.list.d
|
||||
|
||||
COPY password_file /etc/dovecot/secrets/dovecot_password.file
|
||||
COPY password_file /etc/dovecot/secrets/dovecot_password_file
|
||||
COPY dovecot.conf /etc/dovecot/dovecot.conf
|
||||
|
||||
EXPOSE 24
|
||||
|
@ -1,2 +1,2 @@
|
||||
user:{plain}password
|
||||
user2:{plain}password2
|
||||
user:{PLAIN}password
|
||||
user2:{PLAIN}password2
|
@ -37,7 +37,6 @@ spec:
|
||||
- name: dovecot-persistent-storage
|
||||
mountPath: "/etc/dovecot/secrets"
|
||||
subPath: secrets
|
||||
readOnly: true
|
||||
- name: dovecot-persistent-storage
|
||||
subPath: storage
|
||||
mountPath: "/home"
|
||||
|
Loading…
Reference in New Issue
Block a user