No description
Find a file
Guillaume "B.B." Van Hemmen 49336e80ed #0000 - Update volume binding in docker-compose.yml
Changed the volume binding from ./testFolder to ./data to align with the new folder structure. This ensures the application accesses the correct directory for its data storage.
2024-10-22 19:20:47 +02: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 volume binding in docker-compose.yml 2024-10-22 19:20:47 +02: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.