Skip to content

Commit

Permalink
Docs (examples): Add additional examples to `docs/samples/docker-comp…
Browse files Browse the repository at this point in the history
…ose/docker-compose.bash-c.yml` (#160)
  • Loading branch information
joeltimothyoh authored Nov 13, 2023
1 parent 3c22f81 commit a9addb9
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions docs/samples/docker-compose/docker-compose.bash-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,40 @@ services:
ls -al
exec srcds_linux -game csgo -port 27015 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2
srcds-hl2mp:
image: sourceservers/hl2mp:latest
ports:
- 27115:27115/tcp
- 27115:27115/udp
stdin_open: true
tty: true
entrypoint:
- /bin/bash
- -c
command:
- |
set -e
printenv
ls -al
exec srcds_linux -game hl2mp -port 27115 -maxplayers 16 +map dm_lockdown
srcds-left4dead2:
image: sourceservers/left4dead2:latest
ports:
- 27215:27215/tcp
- 27215:27215/udp
stdin_open: true
tty: true
entrypoint:
- /bin/bash
- -c
command:
- |
set -e
printenv
ls -al
exec srcds_linux -game left4dead2 -port 27215 +map "c2m1_highway coop"
hlds-cstrike:
image: goldsourceservers/cstrike:latest
ports:
Expand All @@ -47,3 +81,35 @@ services:
printenv
ls -al
exec hlds_linux -game cstrike +port 28015 +maxplayers 10 +map de_dust2
hlds-czero:
image: goldsourceservers/czero:latest
ports:
- 28115:28115/udp
stdin_open: true
tty: true
entrypoint:
- /bin/bash
- -c
command:
- |
set -e
printenv
ls -al
exec hlds_linux -game czero +port 28115 +maxplayers 10 +map de_dust2_cz
hlds-valve:
image: goldsourceservers/valve:latest
ports:
- 28215:28215/udp
stdin_open: true
tty: true
entrypoint:
- /bin/bash
- -c
command:
- |
set -e
printenv
ls -al
exec hlds_linux -game valve +port 28215 +maxplayers 16 +map boot_camp

0 comments on commit a9addb9

Please sign in to comment.