docs(): update readme
This commit is contained in:
		| @@ -5,7 +5,7 @@ LABEL description "Rainloop is a simple, modern & fast web-based client" \ | ||||
|  | ||||
| ARG GPG_FINGERPRINT="3B79 7ECE 694F 3B7B 70F3  11A4 ED7C 49D9 87DA 4591" | ||||
|  | ||||
| ENV UID=991 GID=991 UPLOAD_MAX_SIZE=25M | ||||
| ENV UID=991 GID=991 UPLOAD_MAX_SIZE=25M LOG_TO_STDOUT=false | ||||
|  | ||||
| RUN echo "@community https://nl.alpinelinux.org/alpine/v3.7/community" >> /etc/apk/repositories \ | ||||
|  && apk -U upgrade \ | ||||
|   | ||||
| @@ -30,7 +30,7 @@ Rainloop is a simple, modern & fast web-based client. More details on the [offic | ||||
| | **UID** | rainloop user id | *optional* | 991 | ||||
| | **GID** | rainloop group id | *optional* | 991 | ||||
| | **UPLOAD_MAX_SIZE** | Attachment size limit | *optional* | 25M | ||||
| | **LOG_TO_STDOUT** | set to "true" | *optional* | undef | ||||
| | **LOG_TO_STDOUT** | Enable nginx and php error logs to stdout | *optional* | false | ||||
|  | ||||
| ### Docker-compose.yml | ||||
|  | ||||
|   | ||||
| @@ -9,10 +9,11 @@ if [ -d "/rainloop/data/_data_/_default_/plugins/postfixadmin-change-password" ] | ||||
| fi | ||||
|  | ||||
| # Set log output to STDOUT if wanted (LOG_TO_STDOUT=true) | ||||
| if [ "$LOG_TO_STDOUT" == "true" ]; then | ||||
| if [ "$LOG_TO_STDOUT" = true ]; then | ||||
|   echo "[INFO] Logging to stdout activated" | ||||
|   chmod o+w /dev/stdout | ||||
|   sed -i "s/.*error_log.*$/error_log \/dev\/stdout warn;/" /etc/nginx/nginx.conf | ||||
|   echo "Logging to STDOUT activated" > /dev/stdout | ||||
|   sed -i "s/.*error_log.*$/error_log = \/dev\/stdout/" /etc/php7/php-fpm.conf | ||||
| fi | ||||
|  | ||||
| # Add postfixadmin-change-password plugin | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Hardware
					Hardware