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. # Enters the devshell for ChirpStack development.
devshell: 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. # Enters the devshell for ChirpStack UI development.
devshell-ui: 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 # Runs the tests
test: test:

View File

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