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

Commit 43fc6da6 authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

add logging to docker-compose prod

parent 0540440f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ services:
    build:
      context: .
      dockerfile: Dockerfile
    logging: *default-logging
    restart: always
    networks:
      - ${INTERNAL_NETWORK_NAME}
@@ -36,6 +35,8 @@ services:
      SEARX_UI_DEFAULT_THEME: "${SEARX_UI_DEFAULT_THEME}"
      GUNICORN_LOGGER: 1
      GUNICORN_LEVEL: INFO
    volumes: 
      - /var/log/containers/spot/app:/var/log/gunicorn

  spot-nginx:
    image: registry.gitlab.e.foundation:5000/e/cloud/my-spot/nginx:${SPOT_NGINX_DOCKER_TAG}
@@ -43,12 +44,13 @@ services:
    build:
      context: .
      dockerfile: nginx.Dockerfile
    logging: *default-logging
    restart: always
    networks:
      - ${INTERNAL_NETWORK_NAME}
    environment:
      SEARX_MORTY_URL: "${SEARX_MORTY_URL}"
    volumes: 
      - /var/log/containers/spot/nginx:/var/log/gunicorn

  filtron:
    image: dalf/filtron:latest
+2 −4
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ services:
    build:
      context: .
      dockerfile: Dockerfile
    logging: *default-logging
    restart: unless-stopped
    environment:
      SEARX_SECRET: "${SEARX_SECRET}"
@@ -30,19 +31,16 @@ services:
      SEARX_UI_DEFAULT_THEME: "${SEARX_UI_DEFAULT_THEME}"
      GUNICORN_LOGGER: 1
      GUNICORN_LEVEL: INFO
    volumes: 
      - /var/log/containers/spot:/var/log/gunicorn

  spot-nginx:
    image: registry.gitlab.e.foundation:5000/e/cloud/my-spot/nginx:${SPOT_NGINX_DOCKER_TAG}
    build:
      context: .
      dockerfile: nginx.Dockerfile
    logging: *default-logging
    restart: unless-stopped
    environment:
      SEARX_MORTY_URL: "${SEARX_MORTY_URL}"
    volumes: 
      - /var/log/containers/nginx:/var/log/nginx

  filtron:
    image: dalf/filtron:latest