Missing Files
This commit is contained in:
@@ -26,6 +26,7 @@ FROM base AS release
|
||||
COPY --from=install /temp/prod/node_modules node_modules
|
||||
COPY --from=prerelease /usr/src/app/mqtt.js .
|
||||
COPY --from=prerelease /usr/src/app/package.json .
|
||||
COPY --from=prerelease /usr/src/app/index.html .
|
||||
|
||||
# run the app
|
||||
USER bun
|
||||
|
||||
@@ -6,7 +6,7 @@ const config = {
|
||||
whitelist_url: "https://laber",
|
||||
whitelist_enabled: false,
|
||||
webport: 8000,
|
||||
webbind:"127.0.0.1"
|
||||
webbind:"0.0.0.0"
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
dockerfile: ./Dockerfile
|
||||
container_name: liveqso
|
||||
ports:
|
||||
- 8000:8000 # Exposed port - see WEBPORT above
|
||||
- 8098:8000 # Exposed port - see WEBPORT above
|
||||
volumes:
|
||||
- ./config.js:/usr/src/app/config.js
|
||||
- ./config.js:/usr/src/app/config.js:U
|
||||
restart: unless-stopped
|
||||
|
||||
2
mqtt.js
2
mqtt.js
@@ -116,7 +116,7 @@ const dinmin = (timestamp) => {
|
||||
|
||||
function startup() {
|
||||
getWhitelist();
|
||||
http.listen(config.webport,'127.0.0.1', () => { // Webserver starten
|
||||
http.listen(config.webport,config.webbind, () => { // Webserver starten
|
||||
console.log(`Socket.IO server running at http://${config.webbind}:${config.webport}`); // debug
|
||||
});
|
||||
const intervalID = setInterval(getWhitelist,5*60*1000);
|
||||
|
||||
Reference in New Issue
Block a user