--- - name: roudcube data file: path: "{{ roudcube_data }}" state: directory mode: 0755 - name: roudcube container docker_container: name: mail.0rpheus.net hostname: roundcube image: "roundcube/roundcubemail:{{ roudcube_version }}" pull: yes restart_policy: always env: ROUNDCUBEMAIL_DB_TYPE: sqlite ROUNDCUBEMAIL_SKIN: elastic ROUNDCUBEMAIL_DEFAULT_HOST: tls://imap.0rpheus.net ROUNDCUBEMAIL_SMTP_SERVER: tls://smtp.0rpheus.net ROUNDCUBEMAIL_PLUGINS: archive,zipdownload,managesieve ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE: 50M ports: - 127.0.0.1:2090:80 volumes: - "{{ roudcube_data }}/www:/var/www/html:rw" - "{{ roudcube_data }}/sqlite:/var/roundcube/db:rw"