Skip to content

Commit

Permalink
Unify to use default port 5173 for development
Browse files Browse the repository at this point in the history
  • Loading branch information
chunlaw committed Mar 11, 2024
1 parent 12148ed commit 1130713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build: ./docker
restart: unless-stopped
ports:
- ${DEV_PORT:-3000}:5173
- ${DEV_PORT:-5173}:5173
volumes:
- ./:/app
command: 'bash ./docker/run.sh'
4 changes: 2 additions & 2 deletions docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ You can deploy hkbus using docker.
docker compose up -d
```

Check out http://localhost:3000 in the browser
Check out http://localhost:5173 in the browser

* If you prefer port other than 3000, add `DEV_PORT=<PORT_NUMBER>` in `.env` file.
* If you prefer port other than 5173, add `DEV_PORT=<PORT_NUMBER>` in `.env` file.

## Build

Expand Down

0 comments on commit 1130713

Please sign in to comment.