k4rian/rpcn

By k4rian

Updated 5 months ago

A Docker image for the RPCN P2P match-making server based on Alpine Linux.

Image
Networking
0

2.2K

k4rian/rpcn repository overview

docker-rpcn logo

A Docker image for the RPCN P2P match-making server based on the official Alpine Linux image.
The server allows you to play many PS3 games with P2P match-making support via netplay using the RPCS3 emulator.


Environment variables

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

[Click to expand]
VariableDefault valueDescription
RPCN_HOST0.0.0.0Host to bind to.
RPCN_PORT31313Port1 to listen on (TCP).
RPCN_HOSTV6::Host only used for the signaling part of RPCN.
RPCN_CREATEMISSINGtrueCreate missing PSN servers IDs internally.
RPCN_LOGVERBOSITYInfoDetermines the verbosity of the logging. Valid values are: Trace, Debug, Info, Warn, Error.
RPCN_EMAILVALIDATIONfalseThis determines if emails are validated (if an email is sent to verify it and if a token is required).
RPCN_EMAILHOSTIf empty, the server will bind on localhost:25 and credentials settings are ignored. Not started if email validation is set to false.
RPCN_EMAILLOGINEmail server login.
RPCN_EMAILPASSWORDEmail server password.
RPCN_SIGNTICKETSfalseDetermines if tickets are signed.
RPCN_SIGNTICKETSDIGESTSHA224OpenSSL message digest algorithm used to sign tickets.
RPCN_ENABLESTATSERVERfalseEnables a minimal web server to display stats.
RPCN_STATSERVERHOST0.0.0.0Web stat server host.
RPCN_STATSERVERPORT31314Web stat server port.
RPCN_STATSERVERCACHELIFE1Web stat server timeout.
RPCN_ADMINLISTList of admin usernames, separated by a comma (without space). Ensure that admin accounts are created before making the server public.

1 The server requires the following extra port to be opened: 3657 (UDP).

Usage

Run a public server using default configuration:

docker run -d \
  --name rpcn \
  -p 31313:31313/tcp \
  -p 3657:3657/udp \
  -i k4rian/rpcn

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-rpcn.git .
  • Then run the following command inside the newly created folder:
docker build --no-cache -t k4rian/rpcn .

The building process can take up to 10 minutes depending on your hardware specs.
A quad-core CPU with at least 1 GB of RAM and 2 GB of disk space is recommended for the compilation.

License

AGPL-3.0

Tag summary

Content type

Image

Digest

sha256:0436ec59f

Size

11.5 MB

Last updated

5 months ago

docker pull k4rian/rpcn:1.8.4