GithubHelp home page GithubHelp logo

zms's Introduction

zMS Private Server

Docker orchestration for an OdinMS-based private server. Note that this repo is unusable without a proper repack and related tools.

Simply...

  • setup the containers with a proper repack
  • configure through .env file
  • docker-compose up

Database

Setup

A repack typically comes with a set of SQL scripts to initialize the database. Copy these into /src/db/ms-sql. If the server initializes without a database, these will be run in alphanumeric order.

The following variables from .env will be available:

Key Default Purpose
MYSQL_DATABASE odinms MySQL database name
MYSQL_ROOT_PASSWORD root MySQL root password

Runtime

MySQL database files are stored in the /data directory.

The db will be exposed in the following ways:

  • externally, for direct connection through dbeaver, at port 3306
  • within the Docker network at: mysql://db:3306

Server

Setup

Copy the server files into /src/server/ms-server. Include a repack-specific "bootstrap" script, named zms-start.sh. This will typically edit the *.properties files based on environment variables and kick-off the server processes.

The following variables from .env will be available:

Key Default Purpose
MYSQL_DATABASE odinms MySQL database name (see db.properties)
MYSQL_ROOT_PASSWORD root MySQL root password (see db.properties)
ZMS_HOST localhost Endpoint where client can login (see world.properties)

Runtime

The server will expose ports 8484 (world server) and 7575-7578 (channel servers).

zms's People

Contributors

zbream avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.