roundcube

This commit is contained in:
Mauro Torrez 2019-09-05 23:36:23 -03:00
parent 2610cd4ef1
commit b049fb68a9
2 changed files with 13 additions and 9 deletions

View File

@ -11,23 +11,28 @@ roundcube_volume: roundcube
# mysql, mariadb, postgresql # mysql, mariadb, postgresql
roundcube_db_type: sqlite roundcube_db_type: sqlite
roundcube_db_host: localhost roundcube_db_host: localhost
roundcube_db_port: "{{ '5432' if 'post' in roundcube_db_type else '3306' }}"
roundcube_db_user: roundcube roundcube_db_user: roundcube
roundcube_db_password: password roundcube_db_password: password
roundcube_db_name:
roundcube{{ '.sqlite' if roundcube_db_type == 'sqlite' else '' }}
# data dir (inside container) # data dir (inside container)
roundcube_data_dir: /var/www/html roundcube_data_dir: /var/www/html
# imap # imap
roundcube_imap_host: "" roundcube_imap_host: "" #localhost
roundcube_imap_port: "" roundcube_imap_port: "" #143
# smtp # smtp
roundcube_smtp_host: "" roundcube_smtp_host: "" #localhost
roundcube_smtp_port: "" roundcube_smtp_port: "" #587
roundcube_smtp_user: ""
roundcube_smtp_password: "" # plugins
roundcube_mail_from_address: "" roundcube_plugins: []
roundcube_mail_domain: ""
# upload max filesize
roundcube_upload_max_filesize: 40M
# definido por rol docker # definido por rol docker
docker_network_name: dockernet docker_network_name: dockernet

View File

@ -67,7 +67,6 @@
- name: template nginx config - name: template nginx config
copy: copy:
content: | content: |
location {{ roundcube_web_root }} { location {{ roundcube_web_root }} {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;