Skip to content

pedrxd/docker-urbanterror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UrbanTerror as Docker

The original binary is not used!. A modified one is used for multi-arch support. Infinite stamina + other mods are activated by default. Check cvar and code on this link.

Usage

If you want to use your customized config take care of this structure. If not, the container will create one for you with the default configuration.

/urtconfig/
└── q3ut4
    ├── log
        └── games.log
    ├── q3config_server.cfg
    ├── server.cfg
    ├── yourmap.pk3
    └── othermap.pk3

The server files are saved on /data/UrbanTerror43/. You can use your custom binary replacing /data/UrbanTerror43/urbanterror-server file.

Environment

URT_SERVERNAME

URT_RCONPASSWORD: Set a custom password, if none specified a random one will be generated and echo on console

URT_MAP: Set the first map for start with

URT_PORT: Set port, default 27960

docker run

You can run with default configuration using the following command

docker run -d -p 27960:27960/udp -e URT_SERVERNAME="My Server!" pedrxd/urbanterror

For a customized server, you need to add your config folder:

docker run -d -p 27960:27960/udp -e URT_SERVERNAME="My Server!" -v /your/config/path:/urtconfig pedrxd/urbanterror

If there is not any config file on that path, the container will create one for you.

Docker-compose example

This is a example of Urbanterror with b3 bot.

version: '3'

networks:
  backend:

services:
  urbanterror:
    image: pedrxd/urbanterror
    restart: always
    ports:
      - 27960:27960/udp
    networks:
      backend:
    environment:
      - URT_RCONPASSWORD=yourpassword
    volumes:
      - 'urtlog:/urtconfig/q3ut4/log'
  b3:
    image: pedrxd/bigbrotherbot
    restart: always
    networks:
      backend:
    environment:
      - B3_RCONPASSWORD=yourpassword
      - B3_GAMEIP=urbanterror
      - B3_GAMELOG=/log/games.log
    volumes:
      - 'urtlog:/log'

volumes:
  urtlog:

About

Multiarch docker of UrbanTerror

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published