Git Product home page Git Product logo

cod2docker's Introduction

cod2docker

Docker image for your Call of Duty 2 server. Libcod included!

You can find detailed instruction in Killtube thread.

Supported tags

Tags compared from CoD2 version + libcod features + Docker image version. Examples for 0.5 image version: 1.0-voron-0.5, 1.3-0.5

Supported CoD2 versions: 1.0, 1.2, 1.3

Default version tag include MySQL and SQLite support both. If you want to use VoroN's MySQL variant (experimental) - use -voron with version.

List of all supported tags

How to use

Upload your main folder, fs_game of server (server folder) and cod_lnxded for your version to your server.

Create (or copy from repo) a docker-compose.yml file contains:

# example for 1.0 cod2 server
version: '3.7'
services:
  myserver:
    image: lonsofore/cod2:1.0
    container_name: myserver
    restart: always
    stdin_open: true
    tty: true
    ports:
      - 28960:28960
      - 28960:28960/udp
    volumes:
      - ~/cod2/myserver:/cod2/myserver
      - ~/cod2/main:/cod2/main
      - ~/cod2/Library:/cod2/.callofduty2/myserver/Library
    environment:
      PARAMS_BEFORE: "+exec myserver.cfg"
      COD2_SET_fs_homepath: "/cod2/.callofduty2/"
      COD2_SET_fs_game: "myserver"
      COD2_SET_dedicated: 2
      COD2_SET_net_port: 28960
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "10"

And replace here volumes path to yours (local:container) and environment variables with yours (put in PARAMS your own fs_game, server port and server config name and also server port to CHECK_PORT).

Support

You always can get support on Killtube thread and Killtube Discord chat.

Feel free to ask!

cod2docker's People

Contributors

lonsofore 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.