Skip to content

Commit

Permalink
fix: use environment in compose
Browse files Browse the repository at this point in the history
  • Loading branch information
akanoce committed Mar 13, 2024
1 parent c087280 commit 00deeb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ services:
insight:
build:
context: .
args:
- VUE_APP_SOLO_URL=http://localhost:8669
environment:
NODE_ENV: production
VUE_APP_SOLO_URL: http://localhost:8669
ports:
- 8080:80
2 changes: 1 addition & 1 deletion src/create-connex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const soloUrlNode = () => {
}
return process.env.VUE_APP_SOLO_URL;
}
//Needed to support runtime env variables

export const isSoloNode = !!soloUrlNode();
export const nodeUrls = {
main: "https://explore-mainnet.veblocks.net",
Expand Down

0 comments on commit 00deeb5

Please sign in to comment.