Skip to content

Commit

Permalink
Merge pull request #2 from squadster/adjust_env_file
Browse files Browse the repository at this point in the history
Adjust ELASTICSEARCH_HOST property in env file
  • Loading branch information
ARtoriouSs authored Dec 4, 2020
2 parents 43c8e96 + 2229fcf commit 9e16ea2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ NGINX_PORT=80
INSTANCE_USER=
INSTANCE_IP=
APP_ENV=production

ELASTICSEARCH_PORT=9200
ELASTICSEARCH_HOST=35.207.141.73

3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ services:
bot:
image: "docker.pkg.github.com/$GITHUB_ORGANIZATION/$BOT_GITHUB_REPO/$BOT_GITHUB_PACKAGE:$RELEASE_VERSION"
command: sh -c "java --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED -Dspring.profiles.active=release -jar /app.jar"
environment:
ELASTICSEARCH_HOST: "${ELASTICSEARCH_HOST}"
ELASTICSEARCH_PORT: "${ELASTICSEARCH_PORT}"
restart: on-failure
depends_on:
- db
Expand Down

0 comments on commit 9e16ea2

Please sign in to comment.