Expose API on host port 8585 for LiteSpeed proxy

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-06 09:18:08 +03:30
co-authored by Cursor
parent 85900f649c
commit 2d513a81af
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ POSTGRES_PORT=5432
# برای ابزارهای روی خود سرور (خارج از Docker)
DATABASE_URL=postgresql://fabric:fabric123@localhost:5432/fabric_trade?schema=public
API_PORT=3000
API_PORT=8585
PORT=3000
API_IMAGE=fabric-trade-api:latest
RUN_SEED=false
+1 -1
View File
@@ -34,7 +34,7 @@ services:
DATABASE_URL: postgresql://${POSTGRES_USER:-fabric}:${POSTGRES_PASSWORD:-fabric123}@postgres:5432/${POSTGRES_DB:-fabric_trade}?schema=public
PORT: ${PORT:-3000}
ports:
- '127.0.0.1:${API_PORT:-3000}:3000'
- '127.0.0.1:${API_PORT:-8585}:3000'
volumes:
fabric_pg_data: