first commit

This commit is contained in:
debu-2 2026-10-03 21:14:44 +05:30
commit cce9a8c9ba
73 changed files with 8665 additions and 0 deletions

17
smtp/Dockerfile Normal file
View 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"]