refactor 2

This commit is contained in:
Andy 2020-05-17 22:44:08 +02:00
parent fde215affc
commit ef6330ad51
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C
3 changed files with 4 additions and 3 deletions

View File

@ -16,8 +16,7 @@ ENV HOME /home/$USER
ENV DATA /opt/rainloop
RUN adduser -D -u $UID -h $HOME -s /bin/true $USER && \
mkdir -p $DATA && \
touch /var/log/php-fpm.log && \
chown -Rh $USER:$USER $DATA /var/log/php-fpm.log
chown -Rh $USER:$USER $DATA
# Obtain RainLoop Webmail Community edition,
# verify its integrity using GnuPG and then decompress it

View File

@ -45,7 +45,6 @@ volumes:
type: none
device: /srv/data/rainloop/nginx
o: bind
```
## updating the Rainloop

View File

@ -37,5 +37,8 @@ server {
include fastcgi_params;
fastcgi_pass $rainloop;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# Prevent exposing nginx + version to $_SERVER
fastcgi_param SERVER_SOFTWARE "";
}
}