mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-08-14 12:32:54 +02:00
「🏗️」 wip: logstash workinnnggg
This commit is contained in:
@ -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
|
||||
|
@ -6,6 +6,8 @@ services:
|
||||
context: ../../
|
||||
ports:
|
||||
- ${OUT_PORT}:443
|
||||
volumes:
|
||||
- log-nginx:/var/log/front
|
||||
environment:
|
||||
- SERVER_NAME=localhost
|
||||
- TZ=Europe/Paris
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user