-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,3 @@ | ||
# ForgeSparks custom LinuxGSM Docker Container | ||
|
||
A custom implementation of dockerised version of LinuxGSM https://linuxgsm.com | ||
|
||
## Usage | ||
|
||
### docker-compose | ||
|
||
Below is an example `docker-compose` for csgoserver. Ports will vary depending upon server. | ||
|
||
```docker | ||
services: | ||
csgoserver: | ||
image: d1ceward/docker-linuxgsm:latest | ||
environment: | ||
- GAMESERVER=jc2server | ||
- LGSM_GITHUBUSER=GameServerManagers | ||
- LGSM_GITHUBREPO=LinuxGSM | ||
- LGSM_GITHUBBRANCH=develop | ||
volumes: | ||
- /path/to/serverfiles:/linuxgsm/serverfiles | ||
- /path/to/log:/linuxgsm/log | ||
- /path/to/config-lgsm:/linuxgsm/config-lgsm | ||
ports: | ||
- "27015:27015/tcp" | ||
- "27015:27015/udp" | ||
- "27020:27020/udp" | ||
- "27005:27005/udp" | ||
restart: unless-stopped | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
services: | ||
gameserver: | ||
image: d1ceward/docker-linuxgsm:latest | ||
restart: unless-stopped | ||
environment: | ||
GAMESERVER: fctrserver | ||
volumes: | ||
- data:/data | ||
ports: | ||
- 34197:34197/udp | ||
volumes: | ||
data: |