Bind mount /var/log/ directories for non-local deployment and stop NGINX logging to stdout and stderr
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" decoding="async" class="lazy" data-src="https://img.shields.io/badge/reflectometry%20Task%20327%20-%20completed%20-%20grey"> <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" decoding="async" class="lazy" data-src="https://img.shields.io/badge/reflectometry%20Task%20328%20-%20completed%20-%20grey">
Work done:
-
compose bind mounts -
unlink
NGINX logs fromstdout
andstderr
-
create image for NGINX -
logging subdirectories in reflectivitydev.sns.gov
-
verify that logs are accessible at reflectivitydev.sns.gov:/tmp/log/web_reflectivity/