fix(log): drop /var/log symlinks

This commit is contained in:
thylong 2023-12-27 12:34:04 +01:00
parent 9da49c5886
commit b56846d0ad
No known key found for this signature in database
GPG key ID: 2708316F958DBF44

View file

@ -50,14 +50,6 @@ COPY --chmod=0755 docker-entrypoint.sh /usr/local/bin/
HEALTHCHECK CMD curl -f http://localhost -A "HealthCheck" || exit 1
# Forward Apache access and error logs to Docker's log collector.
# Optional last line adds extra verbosity with for example:
# [ssl:info] [pid 33] [client 10.0.5.8:45542] AH01964: Connection to child 2 established (server your.domain:443)
RUN ln -sf /dev/stdout /var/www/logs/access.log \
&& ln -sf /dev/stderr /var/www/logs/error.log \
&& ln -sf /dev/stderr /var/www/logs/ssl-access.log
# && ln -sf /dev/stderr /var/www/logs/ssl-error.log
# Set console entry path
WORKDIR /htdocs