From f8191c0a568c9c3e8e4213b7e40b2172eab89546 Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 9 Jan 2023 18:11:03 +0900 Subject: [PATCH] Fix: remove pull_policy(error on podman-compose) --- docker-compose.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index abaf43b..bf896ad 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,6 @@ version: '2' services: es: image: 'docker.elastic.co/elasticsearch/elasticsearch-oss:7.3.1' - pull_policy: if_not_present container_name: elasticsearch_container ports: - "9200:9200" @@ -23,7 +22,6 @@ services: kb: image: 'docker.elastic.co/kibana/kibana-oss:7.3.1' - pull_policy: if_not_present container_name: kibana_container ports: - "5601:5601" @@ -42,14 +40,13 @@ services: ls: image: 'docker.elastic.co/logstash/logstash-oss:7.3.1' - pull_policy: if_not_present container_name: logstash_container ports: - "5000:5000" - "9600:9600" - "5044:5044" volumes: - - ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro + - ./logstash/config:/usr/share/logstash/config:z - ./logstash/pipeline:/usr/share/logstash/pipeline:ro - /etc/localtime:/etc/localtime:ro environment: @@ -66,7 +63,6 @@ services: fb: image: 'docker.elastic.co/beats/filebeat-oss:7.3.1' - pull_policy: if_not_present container_name: filebeat_container depends_on: - ls @@ -77,7 +73,6 @@ services: # - ls # - es - networks: elk_network: driver: bridge