roundcubemail-docker/examples/docker-compose-simple.yaml
Thomas Bruederli ef6dfbea21 Add example docker-compose files
... for all variants of Roundcube images.

relates to issue #99
2020-10-05 22:54:03 +02:00

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