36 lines
613 B
YAML
36 lines
613 B
YAML
---
|
|
services:
|
|
db:
|
|
image: docker.io/postgres:15
|
|
restart: unless_stopped
|
|
environment:
|
|
- POSTGRES_DB
|
|
- POSTGRES_USER
|
|
- POSTGRES_PASSWORD
|
|
volumes:
|
|
- db:/var/lib/postgres/data/
|
|
|
|
redis:
|
|
image: docker.io/redis:latest
|
|
restart: unless_stopped
|
|
|
|
dovecot:
|
|
build: dovecot
|
|
restart: unless_stopped
|
|
environment:
|
|
- BASE_URL
|
|
- POSTGRES_HOST
|
|
- POSTGRES_DB
|
|
- POSTGRES_USER
|
|
- POSTGRES_PASSWORD
|
|
volumes:
|
|
- mailboxes:/usr/lib/dovecot/Maildir
|
|
|
|
postfix:
|
|
build: postfix
|
|
restart: unless_stopped
|
|
|
|
volumes:
|
|
db:
|
|
mailboxes:
|