An open API service indexing awesome lists of open source software.

https://github.com/k4rian/docker-rpcn

A Docker image for the RPCN P2P match-making server based on Alpine Linux.
https://github.com/k4rian/docker-rpcn

alpine-linux docker docker-compose dockerfile emulation gameserver matchmaking multiplayer netplay retrogaming rpcn rpcs3

Last synced: 23 days ago
JSON representation

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

Awesome Lists containing this project

README

          


docker-rpcn logo

A Docker image for the [RPCN][1] P2P match-making server based on the official [Alpine Linux][2] [image][3].

The server allows you to play [many PS3 games][4] with P2P match-making support via netplay using the [RPCS3][5] emulator.

---

Docker Tag | Version | Platform | Description
--- | --- | --- | ---
[latest][6] | 1.5 | amd64, arm64 | Latest release (RPCN 1.8.5)
[1.8.5][6] | 1.5 | amd64, arm64 | RPCN 1.8.5

Show more

Docker Tag | Version | Platform | Description
--- | --- | --- | ---
[1.8.4][6] | 1.5 | amd64, arm64 | RPCN 1.8.4
[1.8.3][6] | 1.5 | amd64, arm64 | RPCN 1.8.3
[1.8.2][6] | 1.5 | amd64, arm64 | RPCN 1.8.2
[1.8.1][6] | 1.5 | amd64, arm64 | RPCN 1.8.1
[1.8.0][6] | 1.5 | amd64, arm64 | RPCN 1.8.0
[1.7.1][6] | 1.5 | amd64, arm64 | RPCN 1.7.1
[1.7.0][6] | 1.5 | amd64, arm64 | RPCN 1.7.0
[1.6.0][12] | 1.4 | amd64, arm64 | RPCN 1.6.0
[1.5.0][12] | 1.4 | amd64, arm64 | RPCN 1.5.0
[1.4.4][12] | 1.4 | amd64, arm64 | RPCN 1.4.4
[1.4.3][12] | 1.4 | amd64, arm64 | RPCN 1.4.3
[1.4.2][12] | 1.4 | amd64, arm64 | RPCN 1.4.2
[1.4.1][12] | 1.4 | amd64, arm64 | RPCN 1.4.1
[1.4.0][12] | 1.4 | amd64, arm64 | RPCN 1.4.0
[1.3.0x][11] | 1.3 | amd64, arm64 | RPCN 1.3.0x (2025-02)
[1.3.0][11] | 1.3 | amd64, arm64 | RPCN 1.3.0
[1.2.4x][10] | 1.2 | amd64, arm64 | RPCN 1.2.4x (2024-09)
[1.2.4][9] | 1.0 | amd64, arm64 | RPCN 1.2.4
[1.2.3][9] | 1.0 | amd64, arm64 | RPCN 1.2.3
[1.2.2][9] | 1.0 | amd64, arm64 | RPCN 1.2.2
[1.2.1][9] | 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_HOSTV6 | :: | Host only used for the signaling part of RPCN.
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.
RPCN_STATSERVERCACHELIFE | 1 | Web stat server timeout.
RPCN_ADMINLIST | | List 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:
```bash
docker run -d \
--name rpcn \
-p 31313:31313/tcp \
-p 3657:3657/udp \
-i k4rian/rpcn
```

## Using Compose
See [compose/README.md][7]

## 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:
```bash
git clone https://github.com/K4rian/docker-rpcn.git .
```

- Then run the following command inside the newly created folder:
```bash
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][8]

[1]: https://github.com/RipleyTom/rpcn "RPCN Repository"
[2]: https://www.alpinelinux.org/ "Alpine Linux Official Website"
[3]: https://hub.docker.com/_/alpine "Alpine Linux Docker Image"
[4]: https://wiki.rpcs3.net/index.php?title=RPCN_Compatibility_List "RPCN Compatibility List"
[5]: https://rpcs3.net/ "RPCS3 Project Website"
[6]: https://github.com/K4rian/docker-rpcn/blob/master/Dockerfile "Latest Dockerfile"
[7]: https://github.com/K4rian/docker-rpcn/tree/master/compose "Compose Files"
[8]: https://github.com/K4rian/docker-rpcn/blob/master/LICENSE
[9]: https://github.com/K4rian/docker-rpcn/blob/f4b33ea25ba3eba0a1c67ab3ef6c69596d9dc6d8/Dockerfile "Dockerfile v1.0"
[10]: https://github.com/K4rian/docker-rpcn/blob/e499e32380a44a6bfc4c529e139bbc90c5236d21/Dockerfile "Dockerfile v1.2"
[11]: https://github.com/K4rian/docker-rpcn/blob/6ea9ff669866b14e7fc4130d6b72cd17d7c3c950/Dockerfile "Dockerfile v1.3"
[12]: https://github.com/K4rian/docker-rpcn/blob/0de6d21f5623352b18ba13fa372f07e9f9d4cdb8/Dockerfile "Dockerfile v1.4"