Guillaume "B.B." Van Hemmen
49336e80ed
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. |
||
---|---|---|
data | ||
.gitignore | ||
docker-compose.yml | ||
LICENCE | ||
README.md |
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
-
Clone the repository:
git clone https://git.van-hemmen.com/GuillaumeHemmen-DockerCompose-Infra/factorio.git cd factorio
-
Ensure that the data folder has the proper ownership (use sudo if needed):
sudo chown 845:845 ./data
-
Run the server once:
docker compose up
-
Stop the server:
docker compose down
-
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.