K4rian / docker-rpcn

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Docker Tag Version Platform Description
latest 1.0 amd64, arm64 Latest release
1.2.4 1.0 amd64, arm64 RPCN 1.2.4
Show more
Docker Tag Version Platform Description
1.2.3 1.0 amd64, arm64 RPCN 1.2.3
1.2.2 1.0 amd64, arm64 RPCN 1.2.2
1.2.1 1.0 amd64, arm64 RPCN 1.2.1

Environment variablesUsageUsing ComposeManual buildLicense


Environment variables

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

Click to expand
Variable Default value Description
RPCN_HOST 0.0.0.0 Host to bind to.
RPCN_PORT 31313 Port1 to listen on (TCP).
RPCN_CREATEMISSING true Create missing PSN servers IDs internally.
RPCN_LOGVERBOSITY Info Determines the verbosity of the logging. Valid values are: Trace, Debug, Info, Warn, Error.
RPCN_EMAILVALIDATION false This determines if emails are validated (if an email is sent to verify it and if a token is required).
RPCN_EMAILHOST If empty, the server will bind on localhost:25 and credentials settings are ignored. Not started if email validation is set to false.
RPCN_EMAILLOGIN Email server login.
RPCN_EMAILPASSWORD Email server password.
RPCN_SIGNTICKETS false Determines if tickets are signed.
RPCN_SIGNTICKETSDIGEST SHA224 OpenSSL message digest algorithm used to sign tickets.
RPCN_ENABLESTATSERVER false Enables a minimal web server to display stats.
RPCN_STATSERVERHOST 0.0.0.0 Web stat server host.
RPCN_STATSERVERPORT 31314 Web stat server port.

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:latest

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

MIT

About

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

License:MIT License


Languages

Language:Dockerfile 62.2%Language:Shell 37.8%