Skip to content
Nanahira edited this page Feb 19, 2022 · 4 revisions

SRVPro on Docker

Our Docker image is at git-registry.mycard.moe/mycard/srvpro.

Run with Docker

Running SRVPro with Docker could be very simple. Just install Docker with your package manager and run the following commands.

mkdir expansions config
docker run -d -p 7911:7911 -p 7922:7922 -v $PWD/config:/ygopro-server/config -v $PWD/expansions:/ygopro-server/ygopro/expansions --name=ygopro-server --restart=always git-registry.mycard.moe/mycard/srvpro

After a few seconds, you may enjoy your duel on port 7911. The config directory is equal to SRVPro's config directory, while the expansions directory points to YGOPro's expansions directory. You may edit the config files in config and put your custom card contents in expansions.

You may change the port 7911 and 7922 to any ports you like.

Build

If you want to build your own image rather using the one on DockerHub, you may build your image with the following commands.

git clone https://github.com/moecube/srvpro
cd srvpro
docker build -t mycard/ygopro-server --rm .