Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVX-2039: Microservices Orders demo fails on Ubuntu 18.04 #774

Open
wants to merge 2 commits into
base: 5.5.1-post
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions microservices-orders/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ services:
- "9200:9200"
- "9300:9300"
environment:
discovery.type: "single-node"
xpack.security.enabled: "false"
XPACK_SECURITY_ENABLED: "false"
xpack.monitoring.enabled: "false"
Expand Down
6 changes: 6 additions & 0 deletions microservices-orders/scripts/run-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ ADDITIONAL_ARGS=${ADDITIONAL_ARGS:-""}
LOG_DIR=${LOG_DIR:="logs"}
PIDS_FILE=${PIDS_FILE:=".microservices.pids"}

# check if we can write to the log directory
if [ ! -w $LOG_DIR ]; then
echo "Unable to write to the logs dir with uid `id -u`. Logging to /tmp."
LOG_DIR=/tmp
fi

echo "Config File arg: $CONFIG_FILE_ARG"
echo "Additional Args: $ADDITIONAL_ARGS"
echo "Starting microservices from $JAR"
Expand Down