From b57e1c7906e9da4e8b2d715c52ccdbd32e4fe845 Mon Sep 17 00:00:00 2001 From: Spencer Date: Thu, 7 May 2026 16:19:30 -0400 Subject: [PATCH] Move Compose host port off 3000 --- README.md | 8 +++++++- compose.yaml | 3 +-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fc0402e..33c10b4 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/compose.yaml b/compose.yaml index 3823519..b52dde3 100644 --- a/compose.yaml +++ b/compose.yaml @@ -8,5 +8,4 @@ services: environment: PORT: 3000 ports: - - "3000:3000" - + - "${APP_PORT:-8787}:3000"