No description
Find a file
Guillaume "B.B." Van Hemmen 2df8c28199 #0000 - Update Factorio image to stable version
Switching from the latest to the stable version ensures more reliable operation by avoiding potential issues with newly introduced changes. This aligns the deployment with production standards for better stability.
2024-11-02 22:03:32 +01:00
data #0000 - Create Docker setup for Factorio server 2024-10-22 19:15:18 +02:00
.gitignore #0000 - Create Docker setup for Factorio server 2024-10-22 19:15:18 +02:00
docker-compose.yml #0000 - Update Factorio image to stable version 2024-11-02 22:03:32 +01:00
LICENCE #0000 - Create Docker setup for Factorio server 2024-10-22 19:15:18 +02:00
README.md #0000 - Create Docker setup for Factorio server 2024-10-22 19:15:18 +02:00

Factorio

Introduction

This repository is a Docker Compose setup based on the work from factoriotools/factorio-docker. Please consult their repository for the full source and documentation.

Factorio is a game where you build and maintain factories. You will mine resources, research technologies, build infrastructure, automate production, and fight enemies. Use your imagination to design your factory, combine simple elements into ingenious structures, apply management skills to keep it working, and protect it from creatures who don't really like you.

The game is stable and optimized for building massive factories. You can create your own maps, write mods in Lua, or play with friends via multiplayer.

Table of Contents

Prerequisites

  • Docker: Ensure Docker is installed and running on your system.
  • Docker Compose: Docker Compose is required to orchestrate the container setup.

Installation

  1. Clone the repository:

    git clone https://git.van-hemmen.com/GuillaumeHemmen-DockerCompose-Infra/factorio.git
    cd factorio
    
  2. Ensure that the data folder has the proper ownership (use sudo if needed):

    sudo chown 845:845 ./data
    
  3. Run the server once:

    docker compose up
    
  4. Stop the server:

    docker compose down
    
  5. Customize the server via the server-settings.json file that appeared in the data folder.

Usage

Start the Factorio service with Docker Compose:

docker compose up -d

License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.