Skip to content

Yazkir/nwnxee-docker-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this

This is a template for running a nwnxee server inside of docker, using docker-compose for orchestration with sql and/or redis.

Prerequisities

  • [git] (to clone this repo)
  • [docker] (version 1.13.0+)
  • [docker-compose] (version 1.10.0+ to support Compose file version 3.0)

Usage

Getting Started

Clone this repo

$ git clone https://github.com/Urothis/nwnxee-template.git

Rename the configuration files

$ cd /path/to/repo
$ cp config/db.env.example config/db.env
$ cp config/nwserver.env.example config/nwserver.env

Start the server

$ cd /path/to/repo
$ docker-compose up

This will spin up an NWN server and all other services defined in the docker-compose.yml. If you want to run the container in the background, use the -d option. docker-compose up -d

Stop the server

$ cd /path/to/repo
$ docker-compose down

Update nwn:ee/nwnxee

$ docker pull nwnxee/unified:latest

Logs

  • Log files are created when compose goes up.
./logs/nwserverError1.txt
./logs/nwserverLog1.txt

Environment Variables/Settings

Settings for the server can be changed by editing the config/nwserver.env file in your repo.

Module The bundled module DockerDemo is loaded by default. To load a different module, say mymodule, place the module file in /path/to/repo/server/modules/ as mymodule.mod and change the environment variable in /path/to/repo/config/nwserver.env to NWN_MODULE=mymodule.

Acknowledgments

About

Docker template for running NWNXEE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%