mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-04 04:30:50 -06:00
Push HTTPD logs to container stdout/stderr as appropriate. Fixes #2920
This commit is contained in:
parent
67f0c8a39e
commit
3b7656b3d5
@ -38,6 +38,12 @@ RUN mkdir -p /certs
|
||||
RUN chown -R apache /certs
|
||||
RUN chmod 700 /certs
|
||||
|
||||
# Push logs to the container's output streams
|
||||
RUN ln -sf /proc/self/fd/1 /var/log/httpd/access_log && \
|
||||
ln -sf /proc/self/fd/1 /var/log/httpd/ssl_access_log && \
|
||||
ln -sf /proc/self/fd/2 /var/log/httpd/error_log && \
|
||||
ln -sf /proc/self/fd/2 /var/log/httpd/ssl_error_log
|
||||
|
||||
# Apache config time
|
||||
RUN mkdir -p /templates
|
||||
COPY pgadmin4.conf.j2 /templates/
|
||||
|
Loading…
Reference in New Issue
Block a user