Giter VIP home page Giter VIP logo

docker-screeps-server's Introduction

Screeps Server

NOTE

I moved the repo to quay.io for automated updates, the dockerhub version is now deprecated!

Setup

Init

  1. If you have an existing server directory, cd into it and skip to first start
  2. Create an empty folder and enter it
  3. Init your server directory: docker run --rm -it -v $PWD:/screeps quay.io/ags131/screeps-server screeps init

First start

  1. Make sure you are in the server directory
  2. Start the Server:
    docker run -d --name screeps-server -v $PWD:/screeps -p 21025:21025 quay.io/ags131/screeps-server
  3. Done! Your server should now be accessible.

Mods

Mods can be installed by running
docker run --rm -v $PWD:/screeps quay.io/ags131/screeps-server yarn add screepsmod-auth

Stopping and starting the server

Stop: docker stop screeps-server
Start: docker start screeps-server

Updating

  1. Stop the server: docker stop screeps-server
  2. Remove the server: docker rm screeps-server
  3. Follow instructions from First Start above

Launching a specific module

For 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 screeps-backend

docker-screeps-server's People

Contributors

alinanova21 avatar bboehmke avatar

Watchers

Wraithan avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.