Skip to content

Commit

Permalink
fix(webapp): run HTTP development server on container port 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-wisiol committed Feb 13, 2021
1 parent 6405011 commit fe2a89d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ services:
volumes:
- ./webapp/:/usr/src/app/
working_dir: /usr/src/app/
command: "npm run serve --fix"
environment:
- HOST=0.0.0.0
- PORT=443
command: bash -c "npm install && npm run serve"
networks:
- rearwebapp
logging:
Expand Down
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"serve": "vue-cli-service serve --port 8080",
"build": "vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
"test:e2e": "vue-cli-service test:e2e",
Expand Down
2 changes: 1 addition & 1 deletion www/90-desec.static.dev.content
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

proxy_pass http://webapp:443; # FIXME Note that we use 443 for plain text communication, to make webpack dev tools use port 443, too. A vue-cli upgrade may help.
proxy_pass http://webapp:8080;

0 comments on commit fe2a89d

Please sign in to comment.