Skip to content

Commit 4f55b6a

Browse files
committed
2 parents 10a8aa5 + b081ea9 commit 4f55b6a

3 files changed

Lines changed: 40 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -
1111
#ADD etc/sites/ /etc/apache2/sites-enabled/
1212
#ADD src/ /var/www/html/
1313
RUN chown -R www-data:www-data /var/www/html
14-
ENV ROUNDCUBE_VERSION="1.6.6"
14+
ENV ROUNDCUBE_VERSION="1.6.9"
1515
ENV ROUNDCUBE_REVISION="0"
1616

1717
RUN cd /var/www/html \

README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Related images:
1313
# Tags
1414
The 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:
7575
1. Customize your configuration file.
7676
1. 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
79116
This Docker image is mature and supports my own mailserver in production. There are no known issues at the moment.
80117

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docker build --progress=plain -t technicalguru/mailserver-roundcube:latest .
1+
docker build -t technicalguru/mailserver-roundcube:latest .

0 commit comments

Comments
 (0)