Make UI proxy work within Compose for development.

This commit is contained in:
Orne Brocaar 2022-09-01 14:50:46 +01:00
parent 4dd441e85d
commit 32889d7052
2 changed files with 3 additions and 3 deletions

View File

@ -30,11 +30,11 @@ build-ui:
# Enters the devshell for ChirpStack development.
devshell:
docker-compose run --rm --service-ports chirpstack bash
docker-compose run --rm --service-ports --name chirpstack chirpstack bash
# Enters the devshell for ChirpStack UI development.
devshell-ui:
docker-compose run --rm --service-ports chirpstack-ui bash
docker-compose run --rm --service-ports --name chirpstack-ui chirpstack-ui bash
# Runs the tests
test:

View File

@ -68,7 +68,7 @@
"not dead",
"not op_mini all"
],
"proxy": "http://127.0.0.1:8080/",
"proxy": "http://chirpstack:8080/",
"devDependencies": {
"husky": "^7.0.4",
"prettier": "^2.6.2"