read values from env and add Dockerfile

This commit is contained in:
2026-08-04 23:03:19 -07:00
parent 538a3f6aa9
commit 4b83c47637
8 changed files with 166 additions and 3 deletions

View File

@@ -2,9 +2,9 @@ const fplay = require("@lawlers/4play");
const http = require("http");
// 4play settings
var port = 3030;
var timeout = 30000;
var password = "cnc";
var port = parseInt(process.env.FOURGET_FPLAY_PASSWORD) || 3030;
var timeout = parseInt(process.env.FOURGET_FPLAY_TIMEOUT) || 30000;
var password = parseInt(process.env.FOURGET_FPLAY_PASSWORD) || "cnc";
// ==================================================