Giter Site home page Giter Site logo

dmestudent / mangoszero Goto Github PK

View Code? Open in Web Editor NEW

This project forked from solipsist01/mangoszero

0.0 0.0 0.0 9.16 MB

unofficial mangos zero docker container

Shell 1.43% PHP 76.82% CSS 8.10% JavaScript 9.55% HTML 3.47% Dockerfile 0.14% Hack 0.10% TSQL 0.39%

mangoszero's Introduction

MangosZero

Unofficial Mangos Zero docker container

contains:

realmd for managing realm
mangsod world of warcraft emulator
mariadb for hosting the database
nginx for mangosweb enhanced v3.04

up and running with 2 simple scripts run the container like this.

docker run \
--name=vanilla \
-d \
-p 80:80 \
-p 8085:8085 \
-p 3724:3724 \
-p 3443:3443 \
-e PUID=0 -e PGID=0 \
-e WAN_IP_ADDRESS=127.0.0.1 \
-e DOCKER_HOST_IP=192.168.1.210 \
-e MYSQL_ROOT_PASSWORD=mangos \
-e TZ=Europe/Amsterdam \
-v /your/location/yourwowvanillaclient:/wow \
-v /your/location/config:/config \
--restart always \
solipsist01/mangoszero

when it's running type the following in your prompt

docker exec -it vanilla /bin/bash

Now you will be connected to the docker container.

/install/InstallDatabases.sh

This will generate the database in the mariadb database

/install/InstallWowfiles.sh

This will generate the DBC, MAPS, MMAPS, VMAPS. They will be moved to your /config directory

browse to yourdockerip:80 and setup the mangosweb website.

If you have chosen a different password as root sql password, edit your realmd.conf and mangosd.conf in your /config/wowfiles directory

docker restart vanilla

Now everything is done.

You will have a working mangos zero up and running in a docker container. Every file is linked and/or moved to the /config directory so settings, wowfiles, databases, will persist container destruction or upgrades.

this is an automated build, which will automatically build the latest version of mangos zero.

automatic database upgrades on startup is in the works

Remote Admin

You need to have a GM level 3 account to access the remote admin port. Create one the following way.

docker exec -it vanilla /mangos/mangosd -c /config/wowconfig/console.conf

This will run a mangos config on another port with console enabled. Essentially connecting you to the mangos console. You can do this while your production mangos is running.

Now create your GM account (or just elevate your current account)

account create gmadmin Y0UB4HDSTR0NGP4SSW0RD
account set gmlevel gmadmin 3

You can now connect with telnet to port 3443 with your gm account for abuse of GM power ;)

Optional

After generating the wowfiles, you don't need to have linked your wow installation client anymore.

remove the docker container with: docker rm vanilla -f

now re-run it with:

docker run \
--name=vanilla \
-d \
-p 80:80 \
-p 8085:8085 \
-p 3724:3724 \
-p 3443:3443 \
-e PUID=0 -e PGID=0 \
-e WAN_IP_ADDRESS=127.0.0.1 \
-e DOCKER_HOST_IP=192.168.1.210 \
-e MYSQL_ROOT_PASSWORD=mangos \
-e TZ=Europe/Amsterdam \
-v /your/location/config:/config \
--restart always \
solipsist01/mangoszero

Parameter breakdown:

docker run \
--name=vanilla \ #you can chose your own name here
-d \ #run as daemon
-p 80:80 \ #nginx web port
-p 8085:8085 \ #mangos port
-p 3724:3724 \ #realmd port
-p 3443:3443 \ #Remote Admin port (telnet)
-e PUID=0 -e PGID=0 \ #root
-e WAN_IP_ADDRESS=127.0.0.1 \ #if you want to port forward for external connection, change to your internet ip address. this address can be updated by running /install/InstallDatabases.sh
-e DOCKER_HOST_IP=192.168.1.210 \ #ip address of your docker host
-e MYSQL_ROOT_PASSWORD=mangos \ #root password of database
-e TZ=Europe/Amsterdam \ #timezone of your docker host
-v /your/location/yourwowvanillaclient:/wow \ #location to your wow vanilla client.
-v /your/location/config:/config \ #location where config files are stored
--restart always \ #automatically start when docker host restarts
solipsist01/mangoszero

mangoszero's People

Contributors

solipsist01 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.