Skip to content

xaranex1/cabal_server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installing

Docker

Install Docker

Environment

Copy .env.example to .env and configurate .env

DB_PASSWORD=password_from_db //Use a strong password for mssql with special symbols, numbers, and uppercase symbols
CONNECT_IP=192.168.1.1 // IP server
EXP_RATE=100 // Enter EXP rate multiplier, e.g. 5 for 5x 
SEXP_RATE=100 // Enter Skill EXP rate multiplier
CEXP_RATE=100 // Enter Craft EXP rate multiplier
DROP_RATE=2 // Enter drop rate multiplier (over 5 is bad)
ALZ_RATE=100 // Enter Alz rate multiplier
BALZ_RATE=100 // Enter Alz bomb rate multiplier
PEXP_RATE=100 // Enter Pet EXP multiplier
WEXP_RATE=100 // Enter War EXP multiplier
ITEMS_PER_DROP=2 // Enter number of items per drop

Otherwise, your container will not start.

Build containers

docker-compose build

Database

Up container

docker-compose up -d mssql

Restore database

docker-compose exec mssql sh restoredb.sh

Server

Start database agents

docker-compose up -d global_db_agent auth_db_agent cash_db_agent event_db_agent pc_bang_db_agent db_agent_01 rock_and_roll_its

Start Global Manager Server

docker-compose up -d global_mgr_svr

Wait loading Global Manager Server (~20-30 sec)

Start other services

docker-compose up -d party_svr_01 chat_node_01 event_mgr_svr login_svr_01 agent_shop_01

Start world server (channels)

Premium

docker-compose up -d world_svr_01_01

War

docker-compose up -d world_svr_01_02

Start M War channels (M War channels auto restart every 4 hours)

docker-compose up -d world_svr_01_03 world_svr_01_04 world_svr_01_05 world_svr_01_06 world_svr_01_07

Stop server

docker-compose down

Service status

docker-compose ps

Service logs

docker-compose logs container_name

example

docker-compose logs global_mgr_svr

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 74.2%
  • Dockerfile 25.8%