Sign inSign up

wwmoraes/pvpgn-server

By wwmoraes

Updated over 4 years ago

PvPGN-PRO server on Docker https://github.com/pvpgn/pvpgn-server

Image
5

10K+

wwmoraes/pvpgn-server repository overview

PvPGN-PRO Docker

PvPGN Server Docker

Status GitHub Issues GitHub Pull Requests License


A simple docker and docker-compose for running a PvPGN-PRO server in no time

📝 Table of Contents

🧐 About

Yet another pvpgn-docker project. Aims to be:

  • ⌛ time-proof, by pulling the latest code from PvPGN-PRO repo
  • 🔐 secure, by using non-privileged user and group to run the server
  • 🗜 small, by using alpine linux instead of ubuntu
  • ⚖ lightweight, by using multi-target building to keep only the needed content on the final image

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

🚀 Deployment

First you need to copy over the configuration files and state structure. To do so on a bind volume (i.e. host directory) do:

mkdir {var,etc}
docker run --rm -v $PWD/var:/mnt/var wwmoraes/pvpgn-server cp -r /usr/local/pvpgn/var/pvpgn /mnt/var
docker run --rm -v $PWD/etc:/mnt/etc wwmoraes/pvpgn-server cp -r /usr/local/pvpgn/etc/pvpgn /mnt/etc

configure as needed by changing the files on $PWD/etc/pvpgn and then run with

docker run -it -v $PWD/etc:/usr/local/pvpgn/etc -v $PWD/var:/usr/local/pvpgn/var -p 4000:4000 -p 6112:6112 wwmoraes/pvpgn-server

If you want to use a docker volume then use the create-var-volume.sh and create-etc-volume.sh scripts:

./scripts/create-var-volume.sh pvpgn-etc pvpgn-var

then run with

docker run -it -v pvpgn-etc:/usr/local/pvpgn/etc -v pvpgn-var:/usr/local/pvpgn/var -p 4000:4000 -p 6112:6112 wwmoraes/pvpgn-server
Prerequisites

You'll need docker at least docker to run the base image, and docker-compose to run the full-blown server.

Installing

Pull the image from Docker Hub:

docker pull wwmoraes/pvpgn-server

Then/or just run:

docker run --rm -it wwmoraes/pvpgn-server:latest # or make run

🎈 Usage

The image exposes the ports 6112 (Battle.net server) and 4000 (game server). You should be able to connect your game through the host IP.

For detailed info about it read through the PvPGN-PRO docs:

🎉 Acknowledgements

  • PvPGN-PRO and its maintainers, which are keeping alive the legacy of PvPGN
  • @ibepeer for feedback on #3, which ended on a BRANCH build arg (to clone from develop, for instance)

Tag summary

Content type

Image

Digest

Size

9 MB

Last updated

almost 6 years ago

docker pull wwmoraes/pvpgn-server