Use host port 8090 (8080 was taken by another local container)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0fc1d32099
commit
8da71f3781
2 changed files with 4 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ python3 -m http.server 8000
|
|||
**Docker / OrbStack** (nginx, production-style headers)
|
||||
```bash
|
||||
docker compose up -d --build
|
||||
# → http://localhost:8080
|
||||
# → http://localhost:8090
|
||||
docker compose down
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
# Run the game locally with OrbStack's Docker engine:
|
||||
# docker compose up -d --build
|
||||
# open http://localhost:8080
|
||||
# open http://localhost:8090
|
||||
# docker compose down
|
||||
# (Host port 8090 chosen to avoid colliding with other local containers.)
|
||||
services:
|
||||
tictactoe:
|
||||
build: .
|
||||
image: tictactoe:latest
|
||||
container_name: tictactoe
|
||||
ports:
|
||||
- "8080:80"
|
||||
- "8090:80"
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Reference in a new issue