File tree 3 files changed +10
-10
lines changed
docs/samples/docker-compose
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -224,12 +224,12 @@ docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp --entrypoint /bin/bash
224
224
225
225
# Counter-Strike: Global Offensive
226
226
# # 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'
229
229
# # 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
231
231
# # 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'
233
233
234
234
# Counter-Strike 1.6
235
235
# # Via default entrypoint (/bin/bash -c)
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ services:
20
20
srcds-csgo :
21
21
image : sourceservers/csgo:latest
22
22
ports :
23
- - 27015:27015 /tcp
24
- - 27015:27015 /udp
23
+ - 27016:27016 /tcp
24
+ - 27016:27016 /udp
25
25
stdin_open : true
26
26
tty : true
27
27
entrypoint :
@@ -32,7 +32,7 @@ services:
32
32
set -e
33
33
printenv
34
34
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
36
36
37
37
srcds-hl2mp :
38
38
image : sourceservers/hl2mp:latest
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ services:
13
13
srcds-csgo :
14
14
image : sourceservers/csgo:latest
15
15
ports :
16
- - 27015:27015 /tcp
17
- - 27015:27015 /udp
16
+ - 27016:27016 /tcp
17
+ - 27016:27016 /udp
18
18
stdin_open : true
19
19
tty : true
20
20
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
22
22
23
23
srcds-hl2mp :
24
24
image : sourceservers/hl2mp:latest
You can’t perform that action at this time.
0 commit comments