Skip to content

Commit

Permalink
Move certs to a local directory
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminshell committed Sep 1, 2022
1 parent c911782 commit 9c8419e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Logging/Config/elasticstack/elasticstack-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
setup:
image: docker.elastic.co/elasticsearch/elasticsearch:${STACK_VERSION}
volumes:
- certs:/usr/share/elasticsearch/config/certs
- ./certs:/usr/share/elasticsearch/config/certs
user: "0"
command: >
bash -c '
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
condition: service_healthy
image: docker.elastic.co/elasticsearch/elasticsearch:${STACK_VERSION}
volumes:
- certs:/usr/share/elasticsearch/config/certs
- ./certs:/usr/share/elasticsearch/config/certs
- esdata01:/usr/share/elasticsearch/data
ports:
- ${ES_PORT}:9200
Expand Down Expand Up @@ -102,7 +102,7 @@ services:
condition: service_healthy
image: docker.elastic.co/kibana/kibana:${STACK_VERSION}
volumes:
- certs:/usr/share/kibana/config/certs
- ./certs:/usr/share/kibana/config/certs
- kibanadata:/usr/share/kibana/data
ports:
- ${KIBANA_PORT}:5601
Expand All @@ -125,8 +125,6 @@ services:
restart: always

volumes:
certs:
driver: local
esdata01:
driver: local
kibanadata:
Expand Down

0 comments on commit 9c8419e

Please sign in to comment.