Update README.md

This commit is contained in:
Aleksandr
2021-05-17 23:39:04 +02:00
committed by GitHub
parent c2cfacda75
commit 015602fb12
+3 -4
View File
@@ -21,16 +21,16 @@ docker pull treyyoder/quakejs:latest
#### and run it:
```
docker run -d --name quakejs -e SERVER=<SERVER_NAME_OR_IP> -e HTTP_PORT=<HTTP_PORT> -p <HTTP_PORT>:80 -p 27960:27960 treyyoder/quakejs:latest
docker run -d --name quakejs -e HTTP_PORT=<HTTP_PORT> -p <HTTP_PORT>:80 -p 27960:27960 treyyoder/quakejs:latest
```
#### Example:
```
docker run -d --name quakejs -e SERVER=10.0.0.2 -e HTTP_PORT=8080 -p 8080:80 -p 27960:27960 treyyoder/quakejs:latest
docker run -d --name quakejs -e HTTP_PORT=8080 -p 8080:80 -p 27960:27960 treyyoder/quakejs:latest
```
Send all you friends/coworkers the link: ex. http://10.0.0.2:8080 and start fragging ;)
Send all you friends/coworkers the link: ex. http://localhost:8080 and start fragging ;)
#### server.cfg:
Refer to [quake3world](https://www.quake3world.com/q3guide/servers.html) for instructions on its usage.
@@ -42,7 +42,6 @@ services:
quakejs:
container_name: quakejs
environment:
- SERVER=10.0.0.2
- HTTP_PORT=8080
ports:
- '8080:80'