Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5197f4f6 authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

Merge branch 'dev/mount-logs' into 'master'

mount nginx logs to host

See merge request !170
parents 638e832f 30cbdb3d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,3 +13,4 @@ CI_REGISTRY_IMAGE=image
SENTRY_DSN=public_key:gitlab.com
SENTRY_TRACES_SAMPLE_RATE=1.0
ENVIRONMENT_NAME=prod
LOG_DIRECTORY=/volumes/spot-nginx-log/
+2 −3
Original line number Diff line number Diff line
@@ -40,9 +40,7 @@ services:
      ENVIRONMENT_NAME: "${ENVIRONMENT_NAME}"

  spot-nginx:
    image: nginx:1.21
    # container_name: spot-nginx       
    logging: *default-logging
    image: nginx:1.23
    restart: always
    networks:
      - ${INTERNAL_NETWORK_NAME}
@@ -51,6 +49,7 @@ services:
      - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf      
      - ./etc/nginx/proxy_spot_params:/etc/nginx/proxy_spot_params
      - ./searx/static:/var/www/spot/static
      - ${LOG_DIRECTORY}:/var/log/nginx

  filtron:
    image: dalf/filtron:latest
+3 −3
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
user  nginx;
worker_processes  auto;

error_log  /var/log/nginx/error.log warn;
pid        /var/run/nginx.pid;


@@ -20,6 +19,7 @@ http {
                      '"$http_user_agent" "$remote_addr"';
    
    access_log /var/log/nginx/access.log main;
    error_log /var/log/nginx/error.log warn;

    sendfile        on;
    #tcp_nopush     on;