{"id":23141694,"url":"https://github.com/zekrotja/factorio-docker","last_synced_at":"2025-08-17T13:31:58.722Z","repository":{"id":99796396,"uuid":"428411268","full_name":"zekroTJA/factorio-docker","owner":"zekroTJA","description":"A simple, pre-built Factorio docker server image.","archived":false,"fork":false,"pushed_at":"2024-12-02T18:17:41.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-06T18:53:46.254Z","etag":null,"topics":["docker","docker-compose","docker-image","factorio","gameserver","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zekroTJA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-15T20:25:40.000Z","updated_at":"2024-12-02T18:17:45.000Z","dependencies_parsed_at":"2023-12-28T21:38:01.479Z","dependency_job_id":"c4e94a60-b368-4e23-8015-39c3f0aaa782","html_url":"https://github.com/zekroTJA/factorio-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zekroTJA%2Ffactorio-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zekroTJA%2Ffactorio-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zekroTJA%2Ffactorio-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zekroTJA%2Ffactorio-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zekroTJA","download_url":"https://codeload.github.com/zekroTJA/factorio-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230128408,"owners_count":18177599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","docker-image","factorio","gameserver","hacktoberfest"],"created_at":"2024-12-17T14:14:12.366Z","updated_at":"2024-12-17T14:14:12.892Z","avatar_url":"https://github.com/zekroTJA.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Factorio Server Dockerized\r\n\r\nThis repository hosts a simple pre-built Docker image to set up a multiplayer server for [Factorio](https://www.factorio.com).\r\n\r\nIt builds the latest version every day, so when a new version of factorio is released, it should be available in the next 24h in worst case.\r\n\r\n## Usage\r\n\r\nIf you want to start the container using the Docker CLI, you can use the following commands.\r\n\r\n```\r\n$ mkdir -p factorio/{mods,save}\r\n$ docker pull ghcr.io/zekrotja/factorio:latest\r\n$ docker run \\\r\n    --name factorio \\\r\n    -p 34197:34197/udp \\\r\n    -v $PWD/factorio/save:/var/save \\\r\n    -v $PWD/factorio/mods:/var/mods:ro \\\r\n    ghcr.io/zekrotja/factorio:latest\r\n```\r\n\r\nOr, when you want to use the provided `docker-compose.yml`, download it and run the stack.\r\n\r\n```\r\n$ curl -Lo docker-compose.yml \\\r\n    https://raw.githubusercontent.com/zekroTJA/factorio-docker/master/docker-compose.yml\r\n$ docker-compose up -d\r\n```\r\n\r\n## Saves\r\n\r\nWhen you do not put a save file in the mounted `save` (`/var/save` mount) volume, a new game save is created. If you want, you can pass [parameters](https://wiki.factorio.com/Command_line_parameters) to the game creation process using the `CREATE_ARGS` evnironment vaiable.\r\n\r\nOtherwise, you can put your save file in the `save` directory. The first file in this directory is then loaded on server startup.\r\n\r\n## Mods\r\n\r\nYou can also inject your mods you want to paly with by mounting `/var/mods` and placing your mod archives with the `mod-list.json` and `mod-settings.dat` into it.\r\n\r\n## Server Configuration\r\n\r\nYou can also pass custom command arguments to the container using the `cmd` parameter. For example, you can pass a custom server configuration file as following.\r\n\r\n```\r\n$ docker run \\\r\n    --name factorio \\\r\n    -p 34197:34197/udp \\\r\n    -v $PWD/factorio/save:/var/save \\\r\n    -v $PWD/factorio/mods:/var/mods:ro \\\r\n    -v $PWD/factorio/server-settings.json:/var/config/server-settings.json:ro \\\r\n    ghcr.io/zekrotja/factorio:latest \\\r\n        --server-settings /var/config/server-settings.json\r\n```\r\n\r\nYou can also specify custom locations for ban or white lists by passing [parameters](https://wiki.factorio.com/Command_line_parameters) and binding the specific paths to volumes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzekrotja%2Ffactorio-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzekrotja%2Ffactorio-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzekrotja%2Ffactorio-docker/lists"}