k4rian/gopher64-netplay-server

By k4rian

Updated 5 months ago

A Docker image for the gopher64 local multiplayer netplay server based on Alpine Linux.

Image
Networking
0

1.8K

k4rian/gopher64-netplay-server repository overview

docker-gopher64-netplay-server logo

A Docker image for the gopher64 local multiplayer netplay server based on the official Alpine Linux image.
The server allows you to play N64 games via netplay using gopher64, simple64 or the Mupen64Plus (with Rosalie's Mupen GUI (RMG)) emulator.


Environment variables

A few environment variables can be tweaked when creating a container to define the server configuration:

Click to expand
VariableDefault valueDescription
G64NS_NAMEgopher64 ServerServer name.
G64NS_PORT45000Port1 to listen on (TCP/UDP).
G64NS_LOGPATHgopher64-server.logFile path to store the logs.
G64NS_MOTDMessage of the day to display to clients.
G64NS_MAXGAMES10Maximum number of concurrent games.
G64NS_DISABLEBROADCASTfalse(Optional) Disables LAN broadcast.
G64NS_ENABLEAUTHfalse(Optional) Enables client authentication.

1 The server requires the following extra ports to be opened: 45001-45010 (TCP/UDP).

Usage

Run a public server using default ports configuration with a maximum of 20 concurrents games and a custom MOTD:

docker run -d \
  --name gopher64-server \
  -p 45000-45010:45000-45010/tcp \
  -p 45000-45010:45000-45010/udp \
  -e G64NS_PORT=45000 \
  -e G64NS_MOTD="Don't forget your martini!" \
  -e G64NS_MAXGAMES=20 \
  -i k4rian/gopher64-netplay-server

Using Compose

See compose/README.md

Manual build

Requirements:
— Docker >= 18.09.0
— Git (optional)

Like any Docker image the building process is pretty straightforward:

  • Clone (or download) the GitHub repository to an empty folder on your local machine:
git clone https://github.com/K4rian/docker-gopher64-netplay-server.git .
  • Then run the following command inside the newly created folder:
docker build --no-cache -t k4rian/gopher64-netplay-server .

License

GPL-3.0

Tag summary

Content type

Image

Digest

sha256:dcbb399bf

Size

12.4 MB

Last updated

5 months ago

docker pull k4rian/gopher64-netplay-server