Skip to content

bcortezf/cod1server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Call of Duty 1 Docker Server

Run a streamlined Call of Duty 1 server within a Docker container, allowing you the flexibility to choose the desired version.

Setup the server

From the project root:

  1. Clone this repository on your host machine with the name you want.
    1. e.g git clone https://github.com/bcortezf/cod1server.git tdm, tdm will be the folder name
  2. Install your desired version with ./install.sh <version>. Available versions: 1.1 1.2 1.3 1.4 1.5
  3. (Optional) Edit the config file located in main/myserver.cfg to suit your needs, you can change server slots, server name, etc..
  4. (Optional) You can modify docker-compose.yml in order to change some parameters.
    • in the ports directive, you can change the port of the server. (e.g, 20010:28960/tcp means that the port will be 20010)
    • in the command directive you can modify the execution parameters.

Launch the server

From the project root:

docker-compose up -d

Server interactions

From the project root you can:

  • Restart server:
docker-compose restart
  • Tail the server logs:
docker-compose logs cod1server # being cod1server the name of the container
  • Stop server completely
docker-compose down

Troubleshooting

server_1  | Sys_Error: Couldn't load default_mp.cfg.  Make sure Call of Duty is run from the correct folder.

Make sure you have files in your main folder. For some reason, you dont have default_mp.cfg.

About

Dockerized Call of Duty 1 Linux Server with the possibility to install any version you want

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages