Expose API on host port 8585 for LiteSpeed proxy
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user