Skip to content

Instantly share code, notes, and snippets.

@taikedz
Created February 28, 2019 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taikedz/d5daa343479cea4614eb8dd756cd1463 to your computer and use it in GitHub Desktop.
Save taikedz/d5daa343479cea4614eb8dd756cd1463 to your computer and use it in GitHub Desktop.
Roundcube webmail

Roundcube docker-compose definition

A simple docker compose definition for a roundcube mail server.

Remember to add definitions for your HTTPS reverse proxy to secure the browser connections.

version: "2"
services:
webmail:
image: roundcube/roundcubemail
environment:
- ROUNDCUBEMAIL_DEFAULT_HOST=imap.exmaple.com
- ROUNDCUBEMAIL_DEFAULT_PORT=143
- ROUNDCUBEMAIL_SMTP_SERVER=smtp.example.com
- ROUNDCUBEMAIL_SMTP_PORT=25
- ROUNDCUBEMAIL_DB_TYPE=mysql
- ROUNDCUBEMAIL_DB_HOST=database
- ROUNDCUBEMAIL_DB_USER=roundcube
- ROUNDCUBEMAIL_DB_PASSWORD=passround
- ROUNDCUBEMAIL_DB_NAME=roundcube
depends_on:
- database
# ports:
# - 8025:80/tcp
database:
image: mariadb:10.4.2
environment:
- MYSQL_ROOT_PASSWORD=rootpassaround
- MYSQL_USER=roundcube
- MYSQL_PASSWORD=passround
- MYSQL_DATABASE=roundcube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment