mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
switched port to test with Travis
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
FROM node:12-alpine
|
||||
WORKDIR /app
|
||||
ADD . /app/
|
||||
EXPOSE 4000
|
||||
EXPOSE 3000
|
||||
|
||||
# We run yarn install with an increased network timeout (5min) to avoid "ESOCKETTIMEDOUT" errors from hub.docker.com
|
||||
# See, for example https://github.com/yarnpkg/yarn/issues/5540
|
||||
|
@@ -66,7 +66,7 @@
|
||||
"builder": "@angular-builders/custom-webpack:dev-server",
|
||||
"options": {
|
||||
"browserTarget": "dspace-angular-cli:build",
|
||||
"port": 4000
|
||||
"port": 3000
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
|
@@ -7,7 +7,7 @@ services:
|
||||
environment:
|
||||
DSPACE_HOST: dspace-angular
|
||||
DSPACE_NAMESPACE: /
|
||||
DSPACE_PORT: '4000'
|
||||
DSPACE_PORT: '3000'
|
||||
DSPACE_SSL: "false"
|
||||
image: dspace/dspace-angular:latest
|
||||
build:
|
||||
@@ -16,8 +16,8 @@ services:
|
||||
networks:
|
||||
dspacenet:
|
||||
ports:
|
||||
- published: 4000
|
||||
target: 4000
|
||||
- published: 3000
|
||||
target: 3000
|
||||
- published: 9876
|
||||
target: 9876
|
||||
stdin_open: true
|
||||
|
@@ -12,7 +12,7 @@ exports.config = {
|
||||
// Change to 'false' to run tests using a remote Selenium server
|
||||
directConnect: true,
|
||||
// Change if the website to test is not on the localhost
|
||||
baseUrl: 'http://localhost:4000/',
|
||||
baseUrl: 'http://localhost:3000/',
|
||||
// -----------------------------------------------------------------
|
||||
specs: [
|
||||
'./src/**/*.e2e-spec.ts'
|
||||
|
@@ -27,7 +27,7 @@ import * as cookieParser from 'cookie-parser';
|
||||
// Express server
|
||||
const app = express();
|
||||
|
||||
const PORT = process.env.PORT || 4000;
|
||||
const PORT = process.env.PORT || 3000;
|
||||
const DIST_FOLDER = join(process.cwd(), 'dist/browser');
|
||||
|
||||
// * NOTE :: leave this as require() since this file is built Dynamically from webpack
|
||||
|
@@ -9,7 +9,7 @@ export const environment: GlobalConfig = {
|
||||
ui: {
|
||||
ssl: false,
|
||||
host: 'localhost',
|
||||
port: 4000,
|
||||
port: 3000,
|
||||
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
|
||||
nameSpace: '/',
|
||||
},
|
||||
|
Reference in New Issue
Block a user