Skip to content

Commit

Permalink
Export HOST_NETWORK_ADDRESS required by the frontend services
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkb committed Nov 10, 2023
1 parent 4ee3cfc commit 8c3626d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ run-img tag="openverse-frontend:local":
# Up #
######

export HOST_NETWORK_ADDRESS := if os() == "macos" { "host.docker.internal" } else { "172.17.0.1" }

# Bring up services specific to the frontend profile
up *flags:
env COMPOSE_PROFILES="frontend" just ../up {{ flags }}
Expand Down

0 comments on commit 8c3626d

Please sign in to comment.