Skip to content

Commit

Permalink
change default port to match wiki update
Browse files Browse the repository at this point in the history
  • Loading branch information
KagurazakaNyaa committed Dec 6, 2024
1 parent 582f5b2 commit 3967c18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN /home/steam/steamcmd/steamcmd.sh \
ENV FORCE_UPDATE=false

ENV LEVEL_NAME=Level01_Main
ENV GAME_PORT=7777
ENV GAME_PORT=8777
ENV QUERY_PORT=27015
ENV ECHO_PORT=18888
ENV MAX_PLAYERS=20
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The variables in the table below affect the server's startup command, see <https
| Variable | Describe | Default Values | Allowed Values |
|------------------------------|---------------------------------------------------------------------------------------------------------------|-----------------|------------------|
| LEVEL_NAME | Specifies the game scene name, currently there is only one: Level01_Main. | Level01_Main | Level01_Main |
| GAME_PORT | Specifies the game port, UDP, needs to be open to the public. | 7777 | 1024-65535 |
| GAME_PORT | Specifies the game port, UDP, needs to be open to the public. | 8777 | 1024-65535 |
| QUERY_PORT | Specifies the Steam query port, UDP, needs to be open to the public. | 27015 | 1024-65535 |
| ECHO_PORT | Maintenance port, used for local telnet server maintenance, TCP, does not need to be open. | 18888 | 1024-65535 |
| MAX_PLAYERS | Specifies the maximum number of players the game instance can support. | 20 | Positive integer |
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ services:
stop_grace_period: 60s
network_mode: bridge
ports:
- 7777:7777/udp
- 8777:8777/udp
- 27015:27015/udp
# - 18888:18888/tcp # only use if want managed by telnet
environment:
- FORCE_UPDATE=false
# - LEVEL_NAME=Level01_Main # do not change this
- GAME_PORT=7777
- GAME_PORT=8777
- QUERY_PORT=27015
- ECHO_PORT=18888
- MAX_PLAYERS=20
Expand Down

0 comments on commit 3967c18

Please sign in to comment.