Compare commits
3 Commits
7c3b70d5e1
...
6b019e8fff
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b019e8fff | ||
| 311bbc8baf | |||
| 0200fb30e0 |
13
README.md
13
README.md
@@ -35,7 +35,7 @@ You don't need to know anything about Linux or HLDS to start a server. You just
|
||||
The latest image of this repo is available in docker hub [josejsalinas/hl-server](https://hub.docker.com/r/josejsalinas/hl-server)
|
||||
|
||||
```bash
|
||||
docker run -d --name hl-server \
|
||||
docker run -d --name halflife-server \
|
||||
-p 27015:27015 \
|
||||
-p 27015:27015/udp \
|
||||
-e SERVER_NAME="My Crossfire Server" \
|
||||
@@ -49,7 +49,7 @@ Or use docker compose with the hub image by creating a `docker-compose.yml`:
|
||||
```yaml
|
||||
services:
|
||||
halflife:
|
||||
image: hl-server:latest
|
||||
image: josejsalinas/hl-server:latest
|
||||
container_name: halflife-server
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
@@ -124,7 +124,7 @@ WELCOME_MESSAGE=Welcome! 15-minute Crossfire rounds!
|
||||
* Customizable via environment variables
|
||||
|
||||
## Default mapcycle - crossfire 24/7
|
||||
* crossfireS
|
||||
* crossfire
|
||||
|
||||
## Advanced
|
||||
|
||||
@@ -147,13 +147,6 @@ nano /opt/steam/hlds/valve/server.cfg
|
||||
docker compose restart
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- The server uses HLDS build 7882 for better compatibility with AMX Mod X
|
||||
- Round duration is set to 15 minutes
|
||||
- Only the Crossfire map is in rotation
|
||||
- Server automatically restarts on crash
|
||||
|
||||
## License
|
||||
|
||||
This configuration is provided as-is for running Half-Life dedicated servers.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
halflife:
|
||||
build: .
|
||||
image: hl-server:latest
|
||||
image: josejsalinas/hl-server:latest
|
||||
container_name: halflife-server
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
@@ -29,5 +29,5 @@ cd /opt/steam/hlds
|
||||
+maxplayers ${MAX_PLAYERS:-16} \
|
||||
+map crossfire \
|
||||
-port 27015 \
|
||||
+sv_lan 1 \
|
||||
+sv_lan 0 \
|
||||
+exec server.cfg
|
||||
|
||||
Reference in New Issue
Block a user