Unofficial docker image to run the https://screeps.com/ standalone server
145
There are two different type how to start a screeps server.
If you do not have an existing server directory, just start the Docker container with the command line argument init, and everything gets done for you.
docker run -it --rm -v $PWD:/screeps quay.io/ags131/screeps-server init
Now it's all set to run the Screeps server.
If you have already a server directory (from previous installations) follow the steps below.
docker run -d --name screeps-server -v $PWD:/screeps -p 21025:21025 quay.io/ags131/screeps-server
Mods can be installed by running:
docker run --rm -v $PWD:/screeps quay.io/ags131/screeps-server yarn add screepsmod-auth
The CLI can be accessed by running:
docker exec -it screeps-server npx screeps cli
Stop:
docker stop screeps-server
Start:
docker start screeps-server
docker stop screeps-serverdocker rm screeps-serverFor more advanced usage and more control over scaling, you can launch individual modules. Note that each module may have different environment variables needed to run.
docker run -d --name screeps-server-backend -v $PWD:/screeps quay.io/ags131/screeps-server@beta screeps-backend
Content type
Image
Digest
Size
362.5 MB
Last updated
over 7 years ago
docker pull pydo/screeps-server