chore: change local development port from 8000 to 8100
- Update docker-compose.yml to map host port 8100 -> container 8000 - Update all Playwright test BASE_URL to port 8100 - Update .env.example with documentation about port mapping - This avoids conflicts with other services on port 8000
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
APP_HOST=0.0.0.0
|
||||
APP_PORT=8000
|
||||
# For local development, docker-compose maps host port 8100 -> container port 8000
|
||||
# This avoids conflicts with other services on port 8000
|
||||
REDIS_URL=redis://localhost:6379
|
||||
CONFIG_PATH=/app/config/settings.yaml
|
||||
TURNSTILE_SITE_KEY=1x00000000000000000000AA
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
image: vault-dash:dev
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8100:8000"
|
||||
environment:
|
||||
APP_ENV: development
|
||||
APP_HOST: 0.0.0.0
|
||||
|
||||
@@ -4,7 +4,7 @@ from pathlib import Path
|
||||
|
||||
from playwright.sync_api import expect, sync_playwright
|
||||
|
||||
BASE_URL = "http://127.0.0.1:8000"
|
||||
BASE_URL = "http://127.0.0.1:8100"
|
||||
ARTIFACTS = Path("tests/artifacts")
|
||||
ARTIFACTS.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ from uuid import uuid4
|
||||
|
||||
from playwright.sync_api import expect, sync_playwright
|
||||
|
||||
BASE_URL = "http://127.0.0.1:8000"
|
||||
BASE_URL = "http://127.0.0.1:8100"
|
||||
ARTIFACTS = Path("tests/artifacts")
|
||||
ARTIFACTS.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ from pathlib import Path
|
||||
|
||||
from playwright.sync_api import expect, sync_playwright
|
||||
|
||||
BASE_URL = "http://127.0.0.1:8000"
|
||||
BASE_URL = "http://127.0.0.1:8100"
|
||||
ARTIFACTS = Path("tests/artifacts")
|
||||
ARTIFACTS.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ from __future__ import annotations
|
||||
|
||||
from playwright.sync_api import expect, sync_playwright
|
||||
|
||||
BASE_URL = "http://127.0.0.1:8000"
|
||||
BASE_URL = "http://127.0.0.1:8100"
|
||||
|
||||
|
||||
def test_settings_reject_invalid_loan_amount_without_silent_zero_fallback() -> None:
|
||||
|
||||
Reference in New Issue
Block a user