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:
Bu5hm4nn
2026-03-29 20:36:17 +02:00
parent 70e14e2a98
commit 1ad369727d
6 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
APP_HOST=0.0.0.0 APP_HOST=0.0.0.0
APP_PORT=8000 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 REDIS_URL=redis://localhost:6379
CONFIG_PATH=/app/config/settings.yaml CONFIG_PATH=/app/config/settings.yaml
TURNSTILE_SITE_KEY=1x00000000000000000000AA TURNSTILE_SITE_KEY=1x00000000000000000000AA

View File

@@ -5,7 +5,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
image: vault-dash:dev image: vault-dash:dev
ports: ports:
- "8000:8000" - "8100:8000"
environment: environment:
APP_ENV: development APP_ENV: development
APP_HOST: 0.0.0.0 APP_HOST: 0.0.0.0

View File

@@ -4,7 +4,7 @@ from pathlib import Path
from playwright.sync_api import expect, sync_playwright 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 = Path("tests/artifacts")
ARTIFACTS.mkdir(parents=True, exist_ok=True) ARTIFACTS.mkdir(parents=True, exist_ok=True)

View File

@@ -5,7 +5,7 @@ from uuid import uuid4
from playwright.sync_api import expect, sync_playwright 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 = Path("tests/artifacts")
ARTIFACTS.mkdir(parents=True, exist_ok=True) ARTIFACTS.mkdir(parents=True, exist_ok=True)

View File

@@ -4,7 +4,7 @@ from pathlib import Path
from playwright.sync_api import expect, sync_playwright 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 = Path("tests/artifacts")
ARTIFACTS.mkdir(parents=True, exist_ok=True) ARTIFACTS.mkdir(parents=True, exist_ok=True)

View File

@@ -2,7 +2,7 @@ from __future__ import annotations
from playwright.sync_api import expect, sync_playwright 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: def test_settings_reject_invalid_loan_amount_without_silent_zero_fallback() -> None: