Skip to content

Commit 4865c48

Browse files
Docs (examples): Assign separate port for srcds-csgo (#186)
1 parent 4dd946c commit 4865c48

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,12 @@ docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp --entrypoint /bin/bash
224224

225225
# Counter-Strike: Global Offensive
226226
## Via default entrypoint (/bin/bash -c)
227-
docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp sourceservers/csgo:latest 'srcds_linux -game csgo -port 27015 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2'
228-
docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp sourceservers/csgo:latest 'printenv && ls -al && exec srcds_linux -game csgo -port 27015 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2'
227+
docker run -it --rm -p 27016:27016/tcp -p 27016:27016/udp sourceservers/csgo:latest 'srcds_linux -game csgo -port 27016 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2'
228+
docker run -it --rm -p 27016:27016/tcp -p 27016:27016/udp sourceservers/csgo:latest 'printenv && ls -al && exec srcds_linux -game csgo -port 27016 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2'
229229
## Via custom entrypoint (game binary)
230-
docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp --entrypoint srcds_linux sourceservers/csgo:latest -game csgo -port 27015 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2
230+
docker run -it --rm -p 27016:27016/tcp -p 27016:27016/udp --entrypoint srcds_linux sourceservers/csgo:latest -game csgo -port 27016 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2
231231
## Via custom entrypoint (/bin/bash)
232-
docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp --entrypoint /bin/bash sourceservers/csgo:latest -c 'printenv && ls -al && exec srcds_linux -game csgo -port 27015 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2'
232+
docker run -it --rm -p 27016:27016/tcp -p 27016:27016/udp --entrypoint /bin/bash sourceservers/csgo:latest -c 'printenv && ls -al && exec srcds_linux -game csgo -port 27016 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2'
233233

234234
# Counter-Strike 1.6
235235
## Via default entrypoint (/bin/bash -c)

docs/samples/docker-compose/docker-compose.bash-c.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ services:
2020
srcds-csgo:
2121
image: sourceservers/csgo:latest
2222
ports:
23-
- 27015:27015/tcp
24-
- 27015:27015/udp
23+
- 27016:27016/tcp
24+
- 27016:27016/udp
2525
stdin_open: true
2626
tty: true
2727
entrypoint:
@@ -32,7 +32,7 @@ services:
3232
set -e
3333
printenv
3434
ls -al
35-
exec srcds_linux -game csgo -port 27015 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2
35+
exec srcds_linux -game csgo -port 27016 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2
3636
3737
srcds-hl2mp:
3838
image: sourceservers/hl2mp:latest

docs/samples/docker-compose/docker-compose.binary.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ services:
1313
srcds-csgo:
1414
image: sourceservers/csgo:latest
1515
ports:
16-
- 27015:27015/tcp
17-
- 27015:27015/udp
16+
- 27016:27016/tcp
17+
- 27016:27016/udp
1818
stdin_open: true
1919
tty: true
2020
entrypoint: srcds_linux
21-
command: -game csgo -port 27015 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2
21+
command: -game csgo -port 27016 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2
2222

2323
srcds-hl2mp:
2424
image: sourceservers/hl2mp:latest

0 commit comments

Comments
 (0)