Commit 2c62a678 authored by Dennis Willers's avatar Dennis Willers 🏀

Change Port for Socket Connection

parent d112b76d
Pipeline #330 passed with stages
in 3 minutes and 19 seconds
......@@ -42,6 +42,6 @@ docker-deploy:
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 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:80 --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:3000 --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:
- master
FROM node:12.18.1
ENV NODE_ENV=production
EXPOSE 8080
EXPOSE 3000
EXPOSE 80
WORKDIR /app
COPY ["package.json", "package-lock.json*", "./"]
......
......@@ -6,7 +6,7 @@ const Socketio = require("socket.io")(Http, {
}
});
Http.listen(3000, () => {
Http.listen(80, () => {
console.log("Listening at :3000...");
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment