Skip to content

Commit

Permalink
Change default port to 6080
Browse files Browse the repository at this point in the history
  • Loading branch information
cruizba committed Jun 26, 2024
1 parent c9ef58d commit 635486d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ trap terminate_process TERM INT

if [ -z "${LIVEKIT_URL}" ]; then
echo "LIVEKIT_URL is required"
echo "example: docker run -e LIVEKIT_URL=https://livekit-server:7880 -e LIVEKIT_API_KEY=api_key -e LIVEKIT_API_SECRET=api_secret -p 5000:5000 openvidu-call"
echo "example: docker run -e LIVEKIT_URL=https://livekit-server:7880 -e LIVEKIT_API_KEY=api_key -e LIVEKIT_API_SECRET=api_secret -p 6080:6080 openvidu-call"
exit 1
fi
if [ -z "${LIVEKIT_API_KEY}" ]; then
echo "LIVEKIT_API_KEY is required"
echo "example: docker run -e LIVEKIT_URL=https://livekit-server:7880 -e LIVEKIT_API_KEY=api_key -e LIVEKIT_API_SECRET=api_secret -p 5000:5000 openvidu-call"
echo "example: docker run -e LIVEKIT_URL=https://livekit-server:7880 -e LIVEKIT_API_KEY=api_key -e LIVEKIT_API_SECRET=api_secret -p 6080:6080 openvidu-call"
exit 1
fi
if [ -z "${LIVEKIT_API_SECRET}" ]; then
echo "LIVEKIT_API_SECRET is required"
echo "example: docker run -e LIVEKIT_URL=https://livekit-server:7880 -e LIVEKIT_API_KEY=api_key -e LIVEKIT_API_SECRET=api_secret -p 5000:5000 openvidu-call"
echo "example: docker run -e LIVEKIT_URL=https://livekit-server:7880 -e LIVEKIT_API_KEY=api_key -e LIVEKIT_API_SECRET=api_secret -p 6080:6080 openvidu-call"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion openvidu-call-back/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// General server configuration
export const SERVER_PORT = process.env.SERVER_PORT || 5000;
export const SERVER_PORT = process.env.SERVER_PORT || 6080;
export const CALL_PRIVATE_ACCESS = process.env.CALL_PRIVATE_ACCESS || 'false';
export const CALL_USER = process.env.CALL_USER || 'user';
export const CALL_SECRET = process.env.CALL_SECRET || 'user';
Expand Down
2 changes: 1 addition & 1 deletion openvidu-call-front/e2e/selenium.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let chromeArgumentsCI = [
];

export const OpenViduCallConfig: BrowserConfig = {
appUrl: LAUNCH_MODE === 'CI' ? 'http://localhost:5000/#/' : 'http://localhost:4200/#/',
appUrl: LAUNCH_MODE === 'CI' ? 'http://localhost:6080/#/' : 'http://localhost:4200/#/',
seleniumAddress: LAUNCH_MODE === 'CI' ? 'http://localhost:3000/webdriver' : '',
browserName: 'ChromeTest',
browserCapabilities: Capabilities.chrome().set('acceptInsecureCerts', true),
Expand Down
2 changes: 1 addition & 1 deletion openvidu-call-front/src/proxy.conf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"/call/api/**": {
"target": "http://127.0.0.1:5000",
"target": "http://127.0.0.1:6080",
"secure": false,
"changeOrigin": true
}
Expand Down

0 comments on commit 635486d

Please sign in to comment.