Move Compose host port off 3000
This commit is contained in:
@@ -17,7 +17,13 @@ A notepad-playable browser game that combines Tic Tac Toe's line-making goal wit
|
|||||||
docker compose up --build
|
docker compose up --build
|
||||||
```
|
```
|
||||||
|
|
||||||
Then open `http://localhost:3000` in two browser windows. The first two connected players are paired automatically.
|
Then open `http://localhost:8787` in two browser windows. The first two connected players are paired automatically.
|
||||||
|
|
||||||
|
Set a different host port with:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
$env:APP_PORT=9090; docker compose up --build
|
||||||
|
```
|
||||||
|
|
||||||
Stop it with:
|
Stop it with:
|
||||||
|
|
||||||
|
|||||||
@@ -8,5 +8,4 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PORT: 3000
|
PORT: 3000
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "${APP_PORT:-8787}:3000"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user