Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Tabu-Middleware
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dennis Willers
Tabu-Middleware
Commits
2c62a678
Commit
2c62a678
authored
Dec 31, 2020
by
Dennis Willers
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Port for Socket Connection
parent
d112b76d
Pipeline
#330
passed with stages
in 3 minutes and 19 seconds
Changes
3
Pipelines
1
Show 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
socket.js
socket.js
+1
-1
No files found.
.gitlab-ci.yml
View file @
2c62a678
...
@@ -42,6 +42,6 @@ docker-deploy:
...
@@ -42,6 +42,6 @@ docker-deploy:
script
:
script
:
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker login hub.willers.digital -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker login hub.willers.digital -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker pull hub.willers.digital/dennis.willers/tabu-middleware:latest"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker pull hub.willers.digital/dennis.willers/tabu-middleware:latest"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker run -d -p 3150:8080 -p 3000:
8
0 --restart=on-failure:5 --mount type=bind,src=/volume1/docker/tmp6,dst=/tmp --name tabu-middleware hub.willers.digital/dennis.willers/tabu-middleware:latest"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker run -d -p 3150:8080 -p 3000:
300
0 --restart=on-failure:5 --mount type=bind,src=/volume1/docker/tmp6,dst=/tmp --name tabu-middleware hub.willers.digital/dennis.willers/tabu-middleware:latest"
only
:
only
:
-
master
-
master
Dockerfile
View file @
2c62a678
FROM
node:12.18.1
FROM
node:12.18.1
ENV
NODE_ENV=production
ENV
NODE_ENV=production
EXPOSE
8080
EXPOSE
8080
EXPOSE
3000
EXPOSE
80
EXPOSE
80
WORKDIR
/app
WORKDIR
/app
COPY
["package.json", "package-lock.json*", "./"]
COPY
["package.json", "package-lock.json*", "./"]
...
...
socket.js
View file @
2c62a678
...
@@ -6,7 +6,7 @@ const Socketio = require("socket.io")(Http, {
...
@@ -6,7 +6,7 @@ const Socketio = require("socket.io")(Http, {
}
}
});
});
Http
.
listen
(
300
0
,
()
=>
{
Http
.
listen
(
8
0
,
()
=>
{
console
.
log
(
"
Listening at :3000...
"
);
console
.
log
(
"
Listening at :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