mirror of
https://github.com/roundcube/roundcubemail-docker.git
synced 2026-02-19 05:11:06 +01:00
24 lines
755 B
YAML
24 lines
755 B
YAML
version: '2'
|
|
|
|
services:
|
|
roundcubemail:
|
|
image: roundcube/roundcubemail:latest
|
|
container_name: roundcubemail
|
|
# restart: unless-stopped
|
|
volumes:
|
|
- ./www:/var/www/html
|
|
- ./db/sqlite:/var/roundcube/db
|
|
ports:
|
|
- 9002:80
|
|
environment:
|
|
- ROUNDCUBEMAIL_DB_TYPE=sqlite
|
|
- ROUNDCUBEMAIL_SKIN=elastic
|
|
- ROUNDCUBEMAIL_DEFAULT_HOST=tls://mail.example.org
|
|
- ROUNDCUBEMAIL_SMTP_SERVER=tls://mail.example.org
|
|
|
|
### Optional: add a full mail server stack to use with Roundcube like https://hub.docker.com/r/tvial/docker-mailserver
|
|
# mailserver:
|
|
# image: tvial/docker-mailserver:latest
|
|
# hostname: mail.example.org
|
|
# ... # for more options see https://github.com/tomav/docker-mailserver#examples
|