fix(core): resolve local client url redirects and stabilize dev environment

- enforce localhost:5174 for wheel campaign client URL in local development
- lock vite dev server ports using strictPort on admin (5173) and client (5174)
- sanitize .env.example and remove hardcoded staging domain
- configure root dev orchestration and docker multi-stage build context
This commit is contained in:
s.esmaeili
2026-09-13 02:02:46 +03:30
parent efb0051ab9
commit afde44ab8a
67 changed files with 5229 additions and 558 deletions
+5 -1
View File
@@ -38,7 +38,7 @@ services:
container_name: lucky_wheel_api
restart: unless-stopped
ports:
- "3000:3000"
- "3001:3000"
environment:
- DATABASE_URL=postgresql://postgres:postgrespassword@postgres:5432/lucky_wheel?schema=public
- REDIS_HOST=redis
@@ -54,9 +54,12 @@ services:
build:
context: .
dockerfile: apps/admin/Dockerfile
args:
VITE_CLIENT_PUBLIC_URL: ${VITE_CLIENT_PUBLIC_URL:-}
container_name: lucky_wheel_admin
restart: unless-stopped
ports:
- "5173:80"
- "8080:80"
depends_on:
- api
@@ -68,6 +71,7 @@ services:
container_name: lucky_wheel_client
restart: unless-stopped
ports:
- "5174:80"
- "80:80"
depends_on:
- api