# Roundcube - Webmail
# Port: 8080
# Web-based email client

version: "3.9"

services:
  roundcube:
    image: roundcube/roundcubemail:latest
    container_name: roundcube
    environment:
      ROUNDCUBEMAIL_DEFAULT_HOST: ssl://imap.gmail.com
      ROUNDCUBEMAIL_DEFAULT_PORT: 993
      ROUNDCUBEMAIL_SMTP_SERVER: tls://smtp.gmail.com
      ROUNDCUBEMAIL_SMTP_PORT: 587
      ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE: 25M
      ROUNDCUBEMAIL_SKIN: elastic
    volumes:
      - /mnt/atlantis_docker/roundcube/data:/var/roundcube
      - /mnt/atlantis_docker/roundcube/config:/var/roundcube/config
      - /mnt/atlantis_docker/roundcube/logs:/var/roundcube/logs
    ports:
      - "7512:80"   # or 7512:80 if you prefer
    restart: unless-stopped
