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:
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