Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
murzart authored Oct 19, 2022
1 parent afc247e commit a2041ca
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ Running on the *host* interface (recommended):<br/>
$ docker run -d --net=host -e SERVER_NAME="MyCustomServerName" -e PASSWORD_ACTIVE=true -e PASSWORD="MySecurePassword" -e MAP="NewYorkCity" -v /home/steam/PerfectHeist2Server-dedicated/ --name=ph2-dedicated ghcr.io/murzart/perfectheist2
```


## Hosting a simple game server with a custom map
Running on the *host* interface (recommended):<br/>
```console
$ docker run -d --net=host -e SERVER_NAME="MyCustomServerName" -e PASSWORD_ACTIVE=true -e PASSWORD="MySecurePassword" -e MAP="CustomMap" -e WORKSHOP_MAP_ID="2802827661" -v /home/steam/PerfectHeist2Server-dedicated/ --name=ph2-dedicated ghcr.io/murzart/perfectheist2
```

### docker-compose.yml example
```dockerfile
version: '3.9'
Expand All @@ -63,6 +56,12 @@ services:
- PORT_STEAM_BROWSER=27027
```

## Hosting a simple game server with a custom map
Running on the *host* interface (recommended):<br/>
```console
$ docker run -d --net=host -e SERVER_NAME="MyCustomServerName" -e PASSWORD_ACTIVE=true -e PASSWORD="MySecurePassword" -e MAP="CustomMap" -e WORKSHOP_MAP_ID="2802827661" -v /home/steam/PerfectHeist2Server-dedicated/ --name=ph2-dedicated ghcr.io/murzart/perfectheist2
```

# Configuration
## Environment Variables
Feel free to overwrite these environment variables, using -e (--env):
Expand Down

0 comments on commit a2041ca

Please sign in to comment.