feat(compose): add mailpit
This commit is contained in:
parent
2f1f3de4ad
commit
ee4dea2ea0
|
@ -2,6 +2,7 @@ name: funkwhale-net
|
|||
include:
|
||||
- path: compose/net.dnsmasq.yml
|
||||
- path: compose/net.traefik.yml
|
||||
- path: compose/net.mailpit.yml
|
||||
# Nowadays people rarely use the default `bridge` network in
|
||||
# Docker (called `docker0` on the host system), why it often
|
||||
# has no containers present.
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
http:
|
||||
services:
|
||||
test-funkwhale-mailpit:
|
||||
loadbalancer:
|
||||
servers:
|
||||
- url: "http://172.17.0.1:8025"
|
||||
passhostheader: true
|
||||
routers:
|
||||
test-funkwhale-mailpit-web:
|
||||
entrypoints: web
|
||||
rule: Host(`mailpit.funkwhale.test`)
|
||||
service: test-funkwhale-mailpit
|
||||
test-funkwhale-mailpit-webs:
|
||||
entrypoints: webs
|
||||
rule: Host(`mailpit.funkwhale.test`)
|
||||
service: test-funkwhale-mailpit
|
||||
tls: true
|
|
@ -0,0 +1,13 @@
|
|||
services:
|
||||
mailpit:
|
||||
image: axllent/mailpit
|
||||
volumes:
|
||||
- ../.state/mailpit:/data
|
||||
network_mode: host
|
||||
environment:
|
||||
MP_UI_BIND_ADDR: 172.17.0.1:8025
|
||||
MP_SMTP_BIND_ADDR: 172.17.0.1:1025
|
||||
MP_MAX_MESSAGES: 5000
|
||||
MP_DATABASE: /data/mailpit.db
|
||||
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
||||
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
Loading…
Reference in New Issue