Public Repository

Last pushed: 2 years ago
Short Description
100% FREE backend for Online Games
Full Description

What is Nuggeta Server

Nuggeta Server, often simply referred to as NServer, is a 100% FREE GameServer written in Java.

Nuggeta Website

How to use this image

Run the GameServer

docker run -d --name some-gameserver \
    -p 5010:5010 -p 5011:5011 -p 9090:9090 \
    -e "mongodb.ip=MY_DB" \

Ports 5010 and 5011 must be expose to allow the client SDK to connect players (5010 for socket and 5011 for http/websocket)
Port 9090 is the web admin console of the gameserver.

The GameServer need to connect to a mongo database.
You can also create a mongo container and link the gameserver to it like below

docker run -d --name mongodb mongo

docker run -d --name some-gameserver \
    -p 5010:5010 -p 5011:5011 -p 9090:9090 \
    --link mongodb:mongodb \
    -e "mongodb.ip=mongodb" \

At this stage the gameserver is up and running , you can check it by by visiting http://host-ip:9090 in a browser.
Now you can try a sample game written in html that will use this gameserver.

Sample Game Html

Advanced GameServer with server side logic.

Create a Dockerfile based on nuggeta/gameserver image and copy your custom configurations, jar librairies and jar domains built within the ApiBuilder.

FROM nuggeta/gameserver

COPY conf/* /gameserver/conf/
COPY lib/* /gameserver/lib/
COPY domains/* /gameserver/domains/

Put this file in the root of your app, next to the conf and lib folders.

Then build and run the Docker image.

docker build -t my-gameserver .
docker run -d --name some-gameserver -p 5010:5010 - p 5011:5011 -p 9090:9090 my-gameserver

#Supported Docker versions

This image is officially supported on Docker version 1.5.0.

Support for older versions (down to 1.0) is provided on a best-effort basis.

#User Feedback


If you have any problems with or questions about this image, please contact us at

Docker Pull Command