Skip to content

Commit

Permalink
Merge branch 'main' into warren/bump-gunicorn-to-2120
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Apr 17, 2024
2 parents bdc7339 + d1264d5 commit 4c438da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/local/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# Meant to be run from the root of the repo

docker build --squash -f ./docker/local/Dockerfile \
docker build --squash -t hdx-oss-dev-local -f ./docker/local/Dockerfile \
--build-context clickhouse=./docker/clickhouse \
--build-context otel-collector=./docker/otel-collector \
--build-context ingestor=./docker/ingestor \
Expand Down
13 changes: 8 additions & 5 deletions docker/local/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,21 @@ export SERVER_URL="${SERVER_URL:-${HYPERDX_API_URL:-http://localhost}:${HYPERDX_
export FRONTEND_URL="${FRONTEND_URL:-${HYPERDX_APP_URL:-http://localhost}:${HYPERDX_APP_PORT:-8080}}"

# Internal Services
export AGGREGATOR_API_URL="http://localhost:8001"
export CLICKHOUSE_HOST="http://localhost:8123"
export MONGO_URI="mongodb://localhost:27017/hyperdx"
export REDIS_URI="redis://localhost:6379"
export AGGREGATOR_API_URL="http://aggregator:8001"
export CLICKHOUSE_HOST="http://ch-server:8123"
export MONGO_URI="mongodb://db:27017/hyperdx"
export REDIS_URI="redis://redis:6379"

export EXPRESS_SESSION_SECRET="hyperdx is cool 👋"
export IS_LOCAL_APP_MODE="DANGEROUSLY_is_local_app_mode💀"
export NEXT_TELEMETRY_DISABLED="1"

# Simulate Docker Service DNS
echo "127.0.0.1 ingestor" >> /etc/hosts
echo "127.0.0.1 aggregator" >> /etc/hosts
echo "127.0.0.1 ch-server" >> /etc/hosts
echo "127.0.0.1 db" >> /etc/hosts
echo "127.0.0.1 ingestor" >> /etc/hosts
echo "127.0.0.1 redis" >> /etc/hosts

echo "Visit the HyperDX UI at $FRONTEND_URL/search"
echo ""
Expand Down

0 comments on commit 4c438da

Please sign in to comment.