add second web server, work around docker compose bug

This commit is contained in:
AlecM33
2024-03-04 20:39:11 -05:00
parent 5573313b70
commit 1b24d61091
7 changed files with 27 additions and 13 deletions

View File

@@ -35,7 +35,7 @@ const ServerBootstrapper = {
try {
const args = Array.from(process.argv.map((arg) => arg.trim().toLowerCase()));
const useHttps = args.includes('protocol=https');
const port = process.env.PORT || args
const port = process.env.WEB_PORT || args
.filter((arg) => {
return /port=\d+/.test(arg);
})