Skip to content

Commit 151991c

Browse files
authored
support satisfactory update 1.1
1 parent a51f6fa commit 151991c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

satisfactory/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ ENV HOME=/home/ips-hosting
1818

1919
EXPOSE 7777/udp
2020
EXPOSE 7777/tcp
21+
EXPOSE 8888/tcp
2122

2223
ENTRYPOINT ["/bin/bash", "/ips-hosting/entrypoint.sh"]

satisfactory/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ For advanced usage, refer to https://docs.docker.com
1111
# Create the docker container
1212
docker create -it --restart always \
1313
--name satisfactory-server \
14-
-p 15777:15777/udp \
15-
-p 15000:15000/udp \
14+
-p 7777:7777/tcp \
1615
-p 7777:7777/udp \
16+
-p 8888:8888/tcp \
1717
ipshosting/game-satisfactory:v2
1818

1919
# Start the server
@@ -61,8 +61,10 @@ The container is run as a non-root user by default and the user running inside t
6161

6262
- 7777/tcp (http)
6363
- 7777/udp (game)
64+
- 8888/tcp (messaging)
6465

65-
You can change the ports with the `PORT` environment variable. Both ports will always use the same number.
66+
You can change the http and game port using the `PORT` environment variable. Both ports will always use the same number.
67+
The messaging port can be changed using the `RELIABLE_PORT` environment variable.
6668

6769
## Env variables
6870

satisfactory/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function update() {
6969
function start() {
7070
cd /home/ips-hosting/Engine/Binaries/Linux
7171

72-
local start_command="./FactoryServer-Linux-Shipping FactoryGame -Port=${PORT:-7777} -DisablePacketRouting -ini:Engine:[HTTPServer.Listeners]:DefaultBindAddress=any"
72+
local start_command="./FactoryServer-Linux-Shipping FactoryGame -Port=${PORT:-7777} -ReliablePort=${RELIABLE_PORT:-8888} -DisablePacketRouting"
7373

7474
export UE_PROJECT_ROOT="/home/ips-hosting"
7575

0 commit comments

Comments
 (0)