Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ LABEL maintainer="support@indifferentbroccoli.com" \

ENV HOME=/home/steam \
GAME_PORT=7777 \
BEACON_PORT=15000 \
QUERY_PORT=15777 \
RELIABLE_PORT=7778 \
SERVER_IP=0.0.0.0 \
GENERATE_SETTINGS=true

Expand All @@ -32,6 +31,6 @@ WORKDIR /home/steam/server
HEALTHCHECK --start-period=5m \
CMD pgrep "Factory" > /dev/null || exit 1

EXPOSE 7777/udp 7777/tcp
EXPOSE 7777/udp 7777/tcp 7778/tcp

ENTRYPOINT ["/home/steam/server/init.sh"]
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ services:
ports:
- '7777:7777/udp'
- '7777:7777/tcp'
- '7778:7778/tcp'
environment:
PUID: 1000
PGID: 1000
Expand Down Expand Up @@ -83,6 +84,7 @@ docker run -d \
--stop-timeout 30 \
-p 7777:7777/udp \
-p 7777:7777/tcp \
-p 7778:7778/tcp \
-e GENERATE_SETTINGS=true \
--env-file .env \
-v ./satisfactory/server-files:/satisfactory \
Expand All @@ -99,7 +101,8 @@ docker run -d \
| `AUTO_PAUSE` | `True` | Auto pause |
| `AUTO_SAVE_ON_DISCONNECT` | `True` | Auto save on disconnect |
| `MAX_PLAYERS` | `4` | Maximum players |
| `GAME_PORT` | `7777` | Game port (TCP & UDP) |
| `GAME_PORT` | `7777` | Game port (UDP & TCP) |
| `RELIABLE_PORT` | `7778` | Reliable port (TCP) |
| `SERVER_IP` | `0.0.0.0` | Server IP |

### Game settings
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ services:
ports:
- '7777:7777/udp'
- '7777:7777/tcp'
- '7778:7778/tcp'
environment:
PUID: 1000
PGID: 1000
Expand Down
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ elif [ "$GENERATE_SETTINGS" = "false" ]; then
fi

LogAction "Starting server"
su steam -c "./FactoryServer.sh -Port=${GAME_PORT} -ini:Engine:[HTTPServer.Listeners]:DefaultBindAddress=any"
su steam -c "./FactoryServer.sh -Port=${GAME_PORT} -ReliablePort=${RELIABLE_PORT} -ExternalReliablePort=${RELIABLE_PORT} -ini:Engine:[HTTPServer.Listeners]:DefaultBindAddress=any"