first commit
This commit is contained in:
commit
cce9a8c9ba
73 changed files with 8665 additions and 0 deletions
17
smtp/Dockerfile
Normal file
17
smtp/Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM alpine:3.21
|
||||
|
||||
RUN apk add --no-cache postfix openssl
|
||||
|
||||
COPY main.cf /etc/postfix/main.cf
|
||||
COPY master.cf /etc/postfix/master.cf
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod 0644 /etc/postfix/main.cf /etc/postfix/master.cf && \
|
||||
chmod 0755 /entrypoint.sh && \
|
||||
mkdir -p /var/spool/postfix/pid
|
||||
|
||||
EXPOSE 25
|
||||
|
||||
HEALTHCHECK --interval=10s --timeout=3s --retries=5 \
|
||||
CMD postfix status >/dev/null 2>&1 || exit 1
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue