Initial commit, from playbooks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
3ff0c6e8bb
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
labels:
|
||||
platform: linux/aarch64
|
||||
|
||||
steps:
|
||||
docker-build-and-publish:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: registry.nemunai.re
|
||||
repo: registry.nemunai.re/dovecot
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM alpine:3
|
||||
|
||||
RUN apk add --no-cache tini ca-certificates dovecot dovecot-ldap dovecot-lmtpd dovecot-pigeonhole-plugin dovecot-pop3d python3
|
||||
|
||||
ADD dovecot.conf /etc/dovecot/dovecot.conf
|
||||
|
||||
VOLUME ["/etc/dovecot", "/srv/mail"]
|
||||
ENTRYPOINT ["/sbin/tini", "--"]
|
||||
CMD ["/usr/sbin/dovecot", "-F"]
|
38
dovecot.conf
Normal file
38
dovecot.conf
Normal file
@ -0,0 +1,38 @@
|
||||
## You should mount /etc/dovecot if you want to
|
||||
## manage this file
|
||||
|
||||
mail_home=/srv/mail/%Lu
|
||||
mail_location=sdbox:~/Mail
|
||||
mail_uid=1000
|
||||
mail_gid=1000
|
||||
|
||||
protocols = imap pop3 sieve lmtp
|
||||
|
||||
first_valid_uid = 1000
|
||||
last_valid_uid = 1000
|
||||
|
||||
passdb {
|
||||
driver = static
|
||||
args = password=pass
|
||||
}
|
||||
|
||||
ssl=yes
|
||||
ssl_cert=<cert.pem
|
||||
ssl_key=<key.pem
|
||||
|
||||
namespace {
|
||||
inbox = yes
|
||||
separator = /
|
||||
}
|
||||
|
||||
service lmtp {
|
||||
inet_listener {
|
||||
port = 24
|
||||
}
|
||||
}
|
||||
|
||||
listen = *
|
||||
|
||||
log_path=/dev/stdout
|
||||
info_log_path=/dev/stdout
|
||||
debug_log_path=/dev/stdout
|
Loading…
Reference in New Issue
Block a user