Skip to content

Roundcube

  • 웹에서 동작하는 메일 클라이언트 소프트웨어
    • IMAP를 사용하여 저장된 메일을 관리
    • SMTP를 사용하여 메일 전송

Compose

  • Docker compose 파일 다운로드

    curl https://raw.githubusercontent.com/roundcube/roundcubemail-docker/refs/heads/master/examples/docker-compose-simple.yaml -o docker-compose.yaml
    
  • docker-compose.yaml 설정 // 2024.12.10

    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
    # 호스트, SMTP 서버 설정
        #  - ROUNDCUBEMAIL_DEFAULT_HOST=tls://mail.example.org
        #  - ROUNDCUBEMAIL_SMTP_SERVER=tls://mail.example.org
          - ROUNDCUBEMAIL_DEFAULT_HOST=tls://mail.test.example.com
          - ROUNDCUBEMAIL_SMTP_SERVER=tls://mail.test.example.com
    
    ### 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
    
  • Compose

    $ docker compose up --detach
    

Example

Roundcube_login