🔧 Update default ports for deployment configuration
This commit is contained in:
@@ -59,9 +59,9 @@ function parseArgs() {
|
|||||||
const args = process.argv.slice(2);
|
const args = process.argv.slice(2);
|
||||||
const config = {
|
const config = {
|
||||||
target: 'internal',
|
target: 'internal',
|
||||||
port: 8080,
|
port: 8099,
|
||||||
sslPort: null,
|
sslPort: null,
|
||||||
backendPort: 3000
|
backendPort: 3099
|
||||||
};
|
};
|
||||||
|
|
||||||
for (let i = 0; i < args.length; i++) {
|
for (let i = 0; i < args.length; i++) {
|
||||||
|
|||||||
@@ -36,9 +36,9 @@ NC='\033[0m' # No Color
|
|||||||
|
|
||||||
# Default configuration
|
# Default configuration
|
||||||
TARGET="internal"
|
TARGET="internal"
|
||||||
PORT=8080
|
PORT=8099
|
||||||
SSL_PORT=""
|
SSL_PORT=""
|
||||||
BACKEND_PORT=3000
|
BACKEND_PORT=3099
|
||||||
SKIP_TESTS=false
|
SKIP_TESTS=false
|
||||||
SKIP_BUILD=false
|
SKIP_BUILD=false
|
||||||
NO_BACKUP=false
|
NO_BACKUP=false
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ services:
|
|||||||
dockerfile: Dockerfile.frontend
|
dockerfile: Dockerfile.frontend
|
||||||
container_name: pokedex-frontend
|
container_name: pokedex-frontend
|
||||||
ports:
|
ports:
|
||||||
- '8080:80'
|
- '8099:80'
|
||||||
- '8443:443'
|
- '8443:443'
|
||||||
depends_on:
|
depends_on:
|
||||||
backend:
|
backend:
|
||||||
@@ -39,7 +39,7 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: pokedex-backend
|
container_name: pokedex-backend
|
||||||
ports:
|
ports:
|
||||||
- '3000:3000'
|
- '3099:3000'
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- PORT=3000
|
- PORT=3000
|
||||||
|
|||||||
Reference in New Issue
Block a user