Skip to content
Snippets Groups Projects
Commit fe197ada authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

attached laravel log to stdout, too

parent d82b5494
No related branches found
No related tags found
2 merge requests!1515Development,!1514Resolve "Attach error log to stdout instead of the access log"
...@@ -41,6 +41,8 @@ COPY config/nginx.conf /etc/nginx/nginx.conf ...@@ -41,6 +41,8 @@ COPY config/nginx.conf /etc/nginx/nginx.conf
COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf
COPY --chown=root:nginx . /html COPY --chown=root:nginx . /html
RUN ln -s /dev/stdout /html/storage/logs/laravel.log
CMD chown -R root:nginx storage/logs/metager bootstrap/cache && \ CMD chown -R root:nginx storage/logs/metager bootstrap/cache && \
chmod -R g+w storage/logs/metager bootstrap/cache && \ chmod -R g+w storage/logs/metager bootstrap/cache && \
/etc/init.d/cron start && \ /etc/init.d/cron start && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment