Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fboulnois/factorio-docker

Runs a minimal Factorio server in Docker
https://github.com/fboulnois/factorio-docker

dedicated-server docker docker-compose factorio factorio-server gameserver

Last synced: 5 days ago
JSON representation

Runs a minimal Factorio server in Docker

Awesome Lists containing this project

README

        

# Factorio Server in Docker

Runs a minimal [Factorio](https://www.factorio.com/) server in Docker. There are
a few other similar projects on GitHub but none fit my requirements.

## Features

* Built on [Distroless](https://github.com/GoogleContainerTools/distroless)
containers for portability
* Uses a non-root user for security
* Only runs `factorio` in the container
* Simple `Dockerfile` and `docker-compose.yml` files
* One step deployment that creates a valid server on localhost
* Stores Factorio data and configs in a Docker volume

## Configuration

You should replace the `map-gen-settings.json`, `map-settings.json`, and
`server-settings.json` in the [settings directory](settings) with your own,
otherwise a default railworld server will be created on LAN.

## Build and Deploy

Building the container and deploying the service is simple.

### Build

```sh
docker build . --tag factorio-docker
```

### Deploy

```sh
docker compose up
```