Compare commits
No commits in common. "master" and "snappymail" have entirely different histories.
master
...
snappymail
@ -3,7 +3,7 @@ FROM alpine:latest
|
|||||||
LABEL description "Snappymail is a simple, modern & fast web-based client based on Rainloop"
|
LABEL description "Snappymail is a simple, modern & fast web-based client based on Rainloop"
|
||||||
|
|
||||||
ARG GPG_FINGERPRINT="1016 E470 7914 5542 F8BA 1335 4820 8BA1 3290 F3EB"
|
ARG GPG_FINGERPRINT="1016 E470 7914 5542 F8BA 1335 4820 8BA1 3290 F3EB"
|
||||||
ARG RAINLOOP_VERSION=2.36.3
|
ARG RAINLOOP_VERSION=2.29.3
|
||||||
|
|
||||||
ENV UID=991 GID=991 UPLOAD_MAX_SIZE=25M LOG_TO_STDOUT=false MEMORY_LIMIT=128M
|
ENV UID=991 GID=991 UPLOAD_MAX_SIZE=25M LOG_TO_STDOUT=false MEMORY_LIMIT=128M
|
||||||
|
|
||||||
@ -32,7 +32,6 @@ RUN apk -U upgrade \
|
|||||||
php-ldap \
|
php-ldap \
|
||||||
php-mbstring \
|
php-mbstring \
|
||||||
php-ctype \
|
php-ctype \
|
||||||
php-fileinfo \
|
|
||||||
php-simplexml
|
php-simplexml
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN set -ex ; \
|
RUN set -ex ; \
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec php-fpm83 --nodaemonize
|
exec php-fpm81
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Set attachment size limit
|
# Set attachment size limit
|
||||||
sed -i "s/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g" /etc/php83/php-fpm.conf /etc/nginx/nginx.conf
|
sed -i "s/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g" /etc/php81/php-fpm.conf /etc/nginx/nginx.conf
|
||||||
sed -i "s/<MEMORY_LIMIT>/$MEMORY_LIMIT/g" /etc/php83/php-fpm.conf
|
sed -i "s/<MEMORY_LIMIT>/$MEMORY_LIMIT/g" /etc/php81/php-fpm.conf
|
||||||
|
|
||||||
# Remove postfixadmin-change-password plugin if exist
|
# Remove postfixadmin-change-password plugin if exist
|
||||||
if [ -d "/rainloop/data/_data_/_default_/plugins/postfixadmin-change-password" ]; then
|
if [ -d "/rainloop/data/_data_/_default_/plugins/postfixadmin-change-password" ]; then
|
||||||
@ -14,7 +14,7 @@ if [ "$LOG_TO_STDOUT" = true ]; then
|
|||||||
echo "[INFO] Logging to stdout activated"
|
echo "[INFO] Logging to stdout activated"
|
||||||
chmod o+w /dev/stdout
|
chmod o+w /dev/stdout
|
||||||
sed -i "s/.*error_log.*$/error_log \/dev\/stdout warn;/" /etc/nginx/nginx.conf
|
sed -i "s/.*error_log.*$/error_log \/dev\/stdout warn;/" /etc/nginx/nginx.conf
|
||||||
sed -i "s/.*error_log.*$/error_log = \/dev\/stdout/" /etc/php83/php-fpm.conf
|
sed -i "s/.*error_log.*$/error_log = \/dev\/stdout/" /etc/php81/php-fpm.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add postfixadmin-change-password plugin
|
# Add postfixadmin-change-password plugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user