@@ -13,7 +13,7 @@ Related images:
1313# Tags
1414The following versions are available from DockerHub. The image tag matches the Roundcube version.
1515
16- * [ 1.6.6 .0, 1.6.6 , 1.6, 1, latest] ( https://hub.docker.com/repository/docker/technicalguru/mailserver-roundcube ) - [ Dockerfile] ( https://github.com/technicalguru/docker-mailserver-roundcube/blob/1.6.6 .0/Dockerfile )
16+ * [ 1.6.9 .0, 1.6.9 , 1.6, 1, latest] ( https://hub.docker.com/repository/docker/technicalguru/mailserver-roundcube ) - [ Dockerfile] ( https://github.com/technicalguru/docker-mailserver-roundcube/blob/1.6.9 .0/Dockerfile )
1717* [ 1.5.2.0, 1.5.2, 1.5] ( https://hub.docker.com/repository/docker/technicalguru/mailserver-roundcube ) - [ Dockerfile] ( https://github.com/technicalguru/docker-mailserver-roundcube/blob/1.5.2.0/Dockerfile )
1818* [ 1.4.11.0, 1.4.11, 1.4] ( https://hub.docker.com/repository/docker/technicalguru/mailserver-roundcube ) - [ Dockerfile] ( https://github.com/technicalguru/docker-mailserver-roundcube/blob/1.4.11.0/Dockerfile )
1919
@@ -75,6 +75,43 @@ You can further customize `config.inc.php`. Please follow these instructions:
75751 . Customize your configuration file.
76761 . Provide your customized file back into the ` /var/www/html ` by using a volume mapping.
7777
78+ # Increase Upload size for attachments
79+ The attachment size is controlled by the PHP configuration. The file must be placed in ` /usr/local/etc/php/conf.d/ ` :
80+
81+ ```
82+ upload_max_filesize = 20M
83+ post_max_size = 20M
84+ ```
85+
86+ For Kubernetes using the HELM chart, create the following ConfigMap:
87+
88+ ```
89+ apiVersion: v1
90+ kind: ConfigMap
91+ metadata:
92+ name: mailserver-roundcube-upload
93+ data:
94+ upload.ini: |-
95+ upload_max_filesize = 10M
96+ post_max_size = 10M
97+ ```
98+
99+ Add the following lines to your HELM values.yaml file:
100+
101+ ```
102+ additionalContainerSpec:
103+ volumeMounts:
104+ - mountPath: /usr/local/etc/php/conf.d/upload.ini
105+ name: roundcube-upload-config
106+ subPath: upload.ini
107+ additionalPodSpec:
108+ volumes:
109+ - name: roundcube-upload-config
110+ configMap:
111+ name: mailserver-roundcube-upload
112+ ```
113+
114+
78115# Issues
79116This Docker image is mature and supports my own mailserver in production. There are no known issues at the moment.
80117
0 commit comments