dayzdockerserver/web/index.js
Daniel Ceregatti 71004b4fcc Start turning this project into a provisioning system: The main image will manage the base server files and mod files, then run servers as separate containers with these volumes mounted read-only, so they can be shared across server instances.
Add command line xml merge tool for when that time comes.
Add Red Falcon Heliz mod as the work-in-progress for getting a turnkey system that merges many different XML files that a full server mod installation will require.
Fix finding a mod by index and use that for all mod operations.
Start re-working how mods are added/removed/activated/deactivated. Split the script up into separate files with distinct functionality. WIP.
Add a template system for handling mod XML files.
Add an express web server to be the provisioning container frontend.
Add lots of comments.
Add TL;DR for turnkey release server install.
2023-05-13 20:58:35 -07:00

10 lines
238 B
JavaScript

const express = require('express')
const path = require('path')
const app = express()
const port = 8000
app.use('/', express.static(path.join(__dirname, 'root')))
app.listen(port, () => {
console.log(`Listening on port ${port}`)
})