initial version
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
// Adventure Land - local Docker configuration (options)
|
||||
//
|
||||
// Replaces secretsandconfig/options.js from the upstream repository.
|
||||
//
|
||||
// base_url must match the origin you open in the browser. If you change the
|
||||
// published port in docker-compose.yml, change it here as well:
|
||||
// base_url -> http://localhost:<backend port>
|
||||
// servers.local.address -> localhost:<game server port>
|
||||
const path = require("node:path");
|
||||
|
||||
machines = {
|
||||
local: {
|
||||
key: "",
|
||||
ip: "0.0.0.0",
|
||||
user: "",
|
||||
},
|
||||
};
|
||||
|
||||
servers = {
|
||||
local: {
|
||||
region: "DE",
|
||||
name: "I",
|
||||
path: "/socket.io/",
|
||||
// Separate Socket.IO endpoint for the MessagePack parser; must differ
|
||||
// from `path` and is advertised to clients through the server record.
|
||||
msgpack_path: "/socket.io-msgpack/",
|
||||
api_path: "/server.api/",
|
||||
local_ip: "0.0.0.0",
|
||||
local_port: 7192,
|
||||
address: "localhost:7192",
|
||||
machine: "local",
|
||||
db: "dev",
|
||||
secure: false,
|
||||
nginx: false,
|
||||
Dev: true,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
project_name: "adventureland",
|
||||
name: "Adventure Land",
|
||||
base_url: "http://localhost:8090",
|
||||
Dev: true,
|
||||
Local: true,
|
||||
Prod: false,
|
||||
Staging: false,
|
||||
Engine: "mongodb",
|
||||
observer_map: "main",
|
||||
merchant_map: "main",
|
||||
port: 8090,
|
||||
close_timeout: 4000,
|
||||
ip_limit: 3,
|
||||
character_limit: 3,
|
||||
fast_sdk: 0,
|
||||
machines: machines,
|
||||
servers: servers,
|
||||
cookie_key: "auth",
|
||||
// SECURITY: with Local + unsecure_admin every visitor counts as admin, which
|
||||
// opens /admin/executor (arbitrary code execution). Off by default; only
|
||||
// enable it while the port is reachable from your machine alone.
|
||||
unsecure_admin: true,
|
||||
};
|
||||
Reference in New Issue
Block a user