This container lets you run a Factorio server on a Raspberry Pi.
296
Requirements:
Raspberry Pi 3/4
1GB RAM or more
64-bit OS
Docker run
docker run -d \
--name raspitorio \
--hostname raspitorio \
-p 34197:34197/udp \
-e SERVER_NAME=Raspitorio \
-e SERVER_PASS=Raspipass \
-e FACTORIO_USER=Your_Username \
-e FACTORIO_PASS=Your_Password \
-e TOKEN=Your_Token \
-e PUBLIC=true \
-v ./factorio/server:/factorio \
-v ./factorio/saves:/saves \
--restart=unless-stopped \
arokan/raspitorio:latest
Docker-Compose
version: "3"
services:
raspitorio:
image: arokan/raspitorio:latest
container_name: raspitorio
environment:
- SERVER_NAME=Raspiheim
- SERVER_PASS=Raspipass
- FACTORIO_USER=Your_Username
- FACTORIO_PASS=Your_Password
- TOKEN=Your_Token
- PUBLIC=true
ports:
- "34197:34197/udp"
volumes:
- "./factorio/server:/factorio"
- "./factorio/saves:/saves"
restart: unless-stopped
Variables
SERVER_NAME= Server name in the lobby and save game
SERVER_PASS= Your server password
FACTORIO_USER= Username of your Factorio.com account. Necessary to list your game publicly.
FACTORIO_PASS= Password of your Factorio.com account. Necessary to list your game publicly.
TOKEN= Your token from your Factorio.com account. Used instead (not aside) of User/Pass. Necessary to list your game publicly.
PUBLIC= Determines whether or not your server is shown in the lobby. Set to false for private and true for public. Remember to forward 34197/udp in your router.
Behaviour
The container takes about 1GB of RAM and uses up to 40%/2GHz on Raspi4.
Known Issues:
It works fine at the beginning and through the game til completion. However, if you plan to build a megabase, I recommend using something else than a raspberry pi.
This container uses Box64 to start the server. Big thanks to PiLabs for this amazing piece of software.
Please consider supporting them by checking out their YouTube-Channel: https://www.youtube.com/channel/UCgfQjdc5RceRlTGfuthBs7g
If you found this container useful, feel free to message me!
Content type
Image
Digest
Size
66.5 MB
Last updated
over 4 years ago
docker pull arokan/raspitorio