Fix: remove pull_policy(error on podman-compose)

This commit is contained in:
Jay 2023-01-09 18:11:03 +09:00
parent 95b1f974dc
commit f8191c0a56

View File

@ -3,7 +3,6 @@ version: '2'
services: services:
es: es:
image: 'docker.elastic.co/elasticsearch/elasticsearch-oss:7.3.1' image: 'docker.elastic.co/elasticsearch/elasticsearch-oss:7.3.1'
pull_policy: if_not_present
container_name: elasticsearch_container container_name: elasticsearch_container
ports: ports:
- "9200:9200" - "9200:9200"
@ -23,7 +22,6 @@ services:
kb: kb:
image: 'docker.elastic.co/kibana/kibana-oss:7.3.1' image: 'docker.elastic.co/kibana/kibana-oss:7.3.1'
pull_policy: if_not_present
container_name: kibana_container container_name: kibana_container
ports: ports:
- "5601:5601" - "5601:5601"
@ -42,14 +40,13 @@ services:
ls: ls:
image: 'docker.elastic.co/logstash/logstash-oss:7.3.1' image: 'docker.elastic.co/logstash/logstash-oss:7.3.1'
pull_policy: if_not_present
container_name: logstash_container container_name: logstash_container
ports: ports:
- "5000:5000" - "5000:5000"
- "9600:9600" - "9600:9600"
- "5044:5044" - "5044:5044"
volumes: 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 - ./logstash/pipeline:/usr/share/logstash/pipeline:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
environment: environment:
@ -66,7 +63,6 @@ services:
fb: fb:
image: 'docker.elastic.co/beats/filebeat-oss:7.3.1' image: 'docker.elastic.co/beats/filebeat-oss:7.3.1'
pull_policy: if_not_present
container_name: filebeat_container container_name: filebeat_container
depends_on: depends_on:
- ls - ls
@ -77,7 +73,6 @@ services:
# - ls # - ls
# - es # - es
networks: networks:
elk_network: elk_network:
driver: bridge driver: bridge