added B&W Logs + Logs Volume
This commit is contained in:
parent
20cc3527b4
commit
056b03990b
1 changed files with 5 additions and 1 deletions
|
@ -30,8 +30,12 @@ COPY . /app/
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
ENV DOCKER_HOST unix:///tmp/docker.sock
|
ENV DOCKER_HOST unix:///tmp/docker.sock
|
||||||
|
ENV TERM xterm-mono
|
||||||
|
ENV force_color_prompt no
|
||||||
|
|
||||||
VOLUME ["/etc/nginx/certs", "/etc/nginx/dhparam"]
|
VOLUME ["/etc/nginx/certs", "/etc/nginx/dhparam", "/var/logs/nginx"]
|
||||||
|
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
|
||||||
|
&& ln -sf /dev/stderr /var/log/nginx/error.log
|
||||||
|
|
||||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||||
CMD ["forego", "start", "-r"]
|
CMD ["forego", "start", "-r"]
|
||||||
|
|
Loading…
Reference in a new issue