From 155e8a8a2f8f8150fae036d67fd9e7d729aa19b9 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Fri, 9 Dec 2022 21:41:47 +0100 Subject: [PATCH] Renamed the service --- docker-compose.yml | 13 ++++++------- .../config/logstash.yml | 0 .../pipeline/logstash-1.conf | 0 .../pipeline/logstash-2.conf | 0 .../pipeline/logstash-3.conf | 0 .../postgresql-42.5.0.jar | Bin 6 files changed, 6 insertions(+), 7 deletions(-) rename {logstash => fda-logging-service}/config/logstash.yml (100%) rename {logstash => fda-logging-service}/pipeline/logstash-1.conf (100%) rename {logstash => fda-logging-service}/pipeline/logstash-2.conf (100%) rename {logstash => fda-logging-service}/pipeline/logstash-3.conf (100%) rename {logstash => fda-logging-service}/postgresql-42.5.0.jar (100%) diff --git a/docker-compose.yml b/docker-compose.yml index 229e0aef56..1c0cfca380 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -355,19 +355,18 @@ services: logging: driver: json-file - logstash: + fda-logging-service: + restart: on-failure + container_name: logging-service image: docker.elastic.co/logstash/logstash-oss:7.13.4 networks: core: volumes: - - ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro - - ./logstash/pipeline:/usr/share/logstash/pipeline:ro - - ./logstash/postgresql-42.5.0.jar:/usr/share/logstash/postgresql.jar:ro + - ./fda-logging-service/config/fda-logging-service.yml:/usr/share/fda-logging-service/config/fda-logging-service.yml:ro + - ./fda-logging-service/pipeline:/usr/share/fda-logging-service/pipeline:ro + - ./fda-logging-service/postgresql-42.5.0.jar:/usr/share/fda-logging-service/postgresql.jar:ro ports: - "5044:5044" - - "50000:50000/tcp" - - "50000:50000/udp" -# - "9600:9600" environment: LS_JAVA_OPTS: "-Xmx256m -Xms256m" depends_on: diff --git a/logstash/config/logstash.yml b/fda-logging-service/config/logstash.yml similarity index 100% rename from logstash/config/logstash.yml rename to fda-logging-service/config/logstash.yml diff --git a/logstash/pipeline/logstash-1.conf b/fda-logging-service/pipeline/logstash-1.conf similarity index 100% rename from logstash/pipeline/logstash-1.conf rename to fda-logging-service/pipeline/logstash-1.conf diff --git a/logstash/pipeline/logstash-2.conf b/fda-logging-service/pipeline/logstash-2.conf similarity index 100% rename from logstash/pipeline/logstash-2.conf rename to fda-logging-service/pipeline/logstash-2.conf diff --git a/logstash/pipeline/logstash-3.conf b/fda-logging-service/pipeline/logstash-3.conf similarity index 100% rename from logstash/pipeline/logstash-3.conf rename to fda-logging-service/pipeline/logstash-3.conf diff --git a/logstash/postgresql-42.5.0.jar b/fda-logging-service/postgresql-42.5.0.jar similarity index 100% rename from logstash/postgresql-42.5.0.jar rename to fda-logging-service/postgresql-42.5.0.jar -- GitLab