No description
Find a file
Guillaume "B.B." Van Hemmen aba5f03fb3 #0000 - Create Docker setup for Factorio server
Added a `docker-compose.yml` for the Factorio game server, including volume mappings and port configurations. Introduced `.gitignore` to manage data folder exclusions. Updated `README.md` with setup instructions and licensing details.
2024-10-22 19:15:18 +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 - Create Docker setup for Factorio server 2024-10-22 19:15:18 +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.