Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
oauth-play
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ASM
oauth-play
Commits
373fd850
Commit
373fd850
authored
Sep 07, 2017
by
Andreas Åkre Solberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix port number
parent
a088af1d
Pipeline
#3698
failed with stages
in 3 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
Dockerfile
Dockerfile
+1
-0
server.js
server.js
+1
-1
No files found.
.gitlab-ci.yml
View file @
373fd850
...
...
@@ -4,7 +4,7 @@ variables:
KUBE_PROD_DOMAIN
:
play.oauth.no
# The main domain for your application.
KUBE_TEST_DOMAIN
:
play-oauth.paas2.uninett.no
# A domain which test versions of your application can be launched under.
KUBE_REVIEW_DOMAIN
:
play-oauth-review.paas2.uninett.no
# A domain which review versions of your application can be launched under.
HTTP_PORT
:
'
808
0'
# The port number of the web server.
HTTP_PORT
:
'
300
0'
# The port number of the web server.
REPLICAS
:
'
1'
stages
:
...
...
Dockerfile
View file @
373fd850
...
...
@@ -13,4 +13,5 @@ RUN ./install-fonts.sh
RUN
npm run build:prod
EXPOSE
3000
CMD
["node", "server.js", "--use_strict"]
server.js
View file @
373fd850
...
...
@@ -20,7 +20,7 @@ app.use("/public", express.static(staticDir, {
// Always send the same file, so that our router can handle the routing.
app
.
get
(
'
*
'
,
function
(
req
,
res
)
{
res
.
sendFile
(
path
.
join
(
staticDir
,
'
index.html
'
));
});
var
port
=
process
.
env
.
VCAP_APP_PORT
||
3000
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment