Move Compose host port off 3000

This commit is contained in:
2026-05-07 16:19:30 -04:00
parent 7b6676cdc9
commit b57e1c7906
2 changed files with 8 additions and 3 deletions

View File

@@ -17,7 +17,13 @@ A notepad-playable browser game that combines Tic Tac Toe's line-making goal wit
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:

View File

@@ -8,5 +8,4 @@ services:
environment:
PORT: 3000
ports:
- "3000:3000"
- "${APP_PORT:-8787}:3000"