Thread: Docker
View Single Post
  #4  
Old 03-02-2019, 06:44 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

There's also this that I made mostly for development and standing up quick test servers for PEQ

https://github.com/Akkadius/eqemu-docker

Disclaimer: All of this runs out of one container which does not follow the typical one process per container paradigm. There's a workspace container which runs all of the emulator binaries, compilation etc and then there is the mariadb container

This is not an officially supported branch but it works more than fine for what it was whipped together for

Eventually I will put together a production ready deployment setup, but it is not on my priority list right now, but I'm putting it out there as-is for folks who wish to play with it.

This could probably run a production server just fine, just everything runs in one container

All you need to do to get it all setup is run `make install`

Code:
make
-----------------------------------------
| Welcome to EQEmu Docker!
-----------------------------------------
| usage: make [command]
-----------------------------------------

assets:
  pull-maps                       Pulls maps
  pull-eqemu-code                 Pulls eqemu code
  pull-eqemu-server-script        Pulls eqemu_server.pl
  pull-peq-quests                 Pulls ProjectEQ quests
  pull-docker-config              Pulls default eqemu_config.json
  pull-utility-scripts            Pulls utility scripts (start/stop server)

build:
  init-build                      Initialize build
  build                           Build EQEmu server
  build-clean                     Cleans build directory
  build-with-cores                Build EQEmu server (make build-with-cores <number>)

docker:
  up                              Bring up the whole environment
  down                            Down all containers
  restart                         Restart containers

init:
  install                         Install full application
  init-server-directories         Initializes server directories
  init-peq-database               Sources fresh PEQ database (Warning: Will over-write existing)

other:
  help                            Show this help.

server:
  server-start                    Start EQEmu Server
  server-stop                     Stop EQEmu Server

workflow:
  bash                            Bash into workspace
  mysql-console                   Jump into the MySQL container console
  chown-eqemu                     Sets eqemu user ownership over files inside container
Reply With Quote