21 lines
642 B
YAML
21 lines
642 B
YAML
services:
|
|
roundcube:
|
|
image: roundcube/roundcubemail:latest
|
|
container_name: roundcube
|
|
restart: unless-stopped
|
|
ports:
|
|
- "9002:80"
|
|
environment:
|
|
ROUNDCUBEMAIL_DEFAULT_HOST: ${IMAP_HOST:-imap.example.com}
|
|
ROUNDCUBEMAIL_DEFAULT_PORT: ${IMAP_PORT:-143}
|
|
ROUNDCUBEMAIL_SMTP_SERVER: tls://${SMTP_HOST:-smtp.example.com}
|
|
ROUNDCUBEMAIL_SMTP_PORT: ${SMTP_PORT:-587}
|
|
ROUNDCUBEMAIL_SMTP_USER: "%u"
|
|
ROUNDCUBEMAIL_SMTP_PASS: "%p"
|
|
ROUNDCUBEMAIL_SMTP_AUTH_TYPE: ${SMTP_AUTH_TYPE:-PLAIN}
|
|
volumes:
|
|
- roundcube-db:/var/roundcube/db
|
|
- ./var/www:/var/www
|
|
|
|
volumes:
|
|
roundcube-db: |