Skip to content

Commit

Permalink
Merge pull request #9 from liberu-genealogy/sweep/add_postfix_dovecot…
Browse files Browse the repository at this point in the history
…_and_bind9_to_dockerc

Sweep: Add postfix, dovecot, and bind9 to docker-compose.yml
  • Loading branch information
curtisdelicata authored Jun 16, 2024
2 parents da57e66 + 7a96030 commit 048f00f
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- ./html:/usr/share/nginx/html
labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy

letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
Expand All @@ -23,4 +23,37 @@ services:
- ./html:/usr/share/nginx/html:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- NGINX_PROXY_CONTAINER=nginx-proxy
- NGINX_PROXY_CONTAINER=nginx-proxy

postfix:
image: boky/postfix
restart: always
environment:
- SMTP_SERVER=example.com
- [email protected]
- SMTP_PASSWORD=password
ports:
- "25:25"
- "587:587"

dovecot:
image: dovecot/dovecot
restart: always
ports:
- "110:110"
- "143:143"
- "993:993"
- "995:995"
volumes:
- ./mail:/var/mail

bind9:
image: internetsystemsconsortium/bind9:9.16
restart: always
ports:
- "53:53/udp"
- "53:53/tcp"
volumes:
- ./bind:/etc/bind
- ./bind/cache:/var/cache/bind
- ./bind/records:/var/lib/bind

0 comments on commit 048f00f

Please sign in to comment.