Skip to content

Commit

Permalink
Test .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
crespocarlos committed Oct 12, 2022
1 parent 231b51f commit 3570a06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/elasticsearch/_dev/deploy/docker/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ELASTIC_VERSION=8.5.0-SNAPSHOT
ELASTIC_VERSION=8.5.0-SNAPSHOT
4 changes: 3 additions & 1 deletion packages/elasticsearch/_dev/deploy/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
version: '2.3'
services:
elasticsearch:
env_file:
- .env
environment:
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- "ELASTIC_PASSWORD=changeme"
image: "docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}"
image: "docker.elastic.co/elasticsearch/elasticsearch:8.5.0-SNAPSHOT"
healthcheck:
test: ["CMD", "curl", "-f", "-u", "elastic:changeme", "http://127.0.0.1:9200/"]
retries: 300
Expand Down

0 comments on commit 3570a06

Please sign in to comment.