🏗️」 wip: logstash workinnnggg

This commit is contained in:
2025-07-26 10:31:26 +02:00
parent 8982e72969
commit f1d54de6a5
19 changed files with 95 additions and 1 deletions

View File

@ -25,5 +25,13 @@ COPY --chmod=755 docker/front/entry/ssl-cert.sh /docker-entrypoint.d/ssl-cert.s
COPY --from=builder /app/dist /usr/share/nginx/html
USER root
RUN mkdir -p /var/log/front
RUN touch /var/log/front/err.log /var/log/front/log.log
RUN chmod -R 777 /var/log/front
USER nginx
EXPOSE 80 443
STOPSIGNAL SIGINT

View File

@ -6,6 +6,8 @@ services:
context: ../../
ports:
- ${OUT_PORT}:443
volumes:
- log-nginx:/var/log/front
environment:
- SERVER_NAME=localhost
- TZ=Europe/Paris

View File

@ -1,4 +1,7 @@
server {
error_log /var/log/front/err.log warn;
access_log /var/log/front/log.log;
listen 443 ssl;
server_name example.com; # Replace with your domain or handle env vars externally