Skip to content

Commit

Permalink
feat: mirror libcod versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
rutkowski-tomasz committed Feb 13, 2025
1 parent 3f9bbd5 commit bacc874
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion __version__
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.13.1
13.2
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
services:
my-server:
image: rutkowski/cod2:2.9-server1.3-mysql-unsafe
image: rutkowski/cod2:13.2-server1.3-mysql-unsafe
container_name: my-server
user: "1001:1002" # you can skip, this is set by default
restart: always
Expand All @@ -13,11 +13,11 @@ services:
volumes:
- ./my-server:/cod2/my-server:ro
- ~/cod2/main/1_3:/cod2/main:ro
- ~/cod2/Library:/cod2/library:ro
- ~/cod2/Library:/cod2/home/library:ro
environment:
PARAMS_BEFORE: "+exec server.cfg"
COD2_SET_fs_homepath: "/cod2/home"
COD2_SET_fs_library: "/cod2/library"
COD2_SET_fs_library: "library"
COD2_SET_fs_game: "my-server"
COD2_SET_dedicated: 2
COD2_SET_net_port: 28970
Expand Down
13 changes: 0 additions & 13 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
#!/bin/bash -ex

fs_game=$COD2_SET_fs_homepath/$COD2_SET_fs_game
fs_library=$COD2_SET_fs_homepath/$COD2_SET_fs_game/$COD2_SET_fs_library

if [ ! -d "$fs_game" ]; then
mkdir -p $fs_game
if [ ! -d "$fs_library" ]; then
ln -s /cod2/library $fs_library
fi
fi

ls -l $fs_game
ls -l $fs_library

# prefix to parse cvars from envs
prefix=COD2_
cmds=(set seta sets)
Expand Down

0 comments on commit bacc874

Please sign in to comment.