Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Use a default for `HOST_NETWORK_ADDRESS` to hide warnings (#3333)
Dhruv Bhanushali37072c91c409
diff --git a/docker-compose.yml b/docker-compose.ymlindex 7a541c150..010fb1357 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -331,7 +331,7 @@ services:ports:- "50290:8080"environment:- OPENVERSE_NGINX_UPSTREAM_URL: ${HOST_NETWORK_ADDRESS}:8443+ OPENVERSE_NGINX_UPSTREAM_URL: ${HOST_NETWORK_ADDRESS:-172.17.0.1}:8443OPENVERSE_NGINX_PLAUSIBLE_EVENT_URL: http://plausible:8000/api/event# Set to Docker network resolver to be able to resolve the `plausible` container.# This would be the default but Nginx requires it to be explicitly set whendiff --git a/justfile b/justfileindex cf1da5c2a..826666043 100644--- a/justfile+++ b/justfile@@ -10,8 +10,6 @@ PROD_ENV := env_var_or_default("PROD_ENV", "")IS_CI := env_var_or_default("CI", "")DC_USER := env_var_or_default("DC_USER", "opener")-export HOST_NETWORK_ADDRESS := if os() == "macos" { "host.docker.internal" } else { "172.17.0.1" }-# Show all available recipes, also recurses inside nested justfiles@_default:just --list --unsorted@@ -128,6 +126,8 @@ export INGESTION_PY_VERSION := `just ingestion_server/py-version`export FRONTEND_NODE_VERSION := `just frontend/node-version`export FRONTEND_PNPM_VERSION := `just frontend/pnpm-version`+export HOST_NETWORK_ADDRESS := if os() == "macos" { "host.docker.internal" } else { "172.17.0.1" }+versions:#!/usr/bin/env bashcat <<EOF