support older versions of docker and docker-compose (#414)

This commit is contained in:
Paul Robertson
2021-09-09 11:13:45 -04:00
committed by GitHub
parent 765d2bb23d
commit d6154359d9
3 changed files with 24 additions and 7 deletions

View File

@ -304,16 +304,19 @@ The files in this volume should be owned by the factorio user, uid 845.
[Docker Compose](https://docs.docker.com/compose/install/) is an easy way to run Docker containers.
First get a [docker-compose.yml](https://github.com/factoriotools/factorio-docker/blob/master/0.17/docker-compose.yml) file. To get it from this repository:
* docker-engine >= 1.10.0 is required
* docker-compose >=1.6.0 is required
First get a [docker-compose.yml](https://github.com/factoriotools/factorio-docker/blob/master/docker/docker-compose.yml) file. To get it from this repository:
```shell
git clone https://github.com/factoriotools/factorio-docker.git
cd docker_factorio_server/0.17
cd factorio-docker/docker
```
Or make your own:
```shell
```yaml
version: '2'
services:
factorio:
@ -342,7 +345,7 @@ sudo docker-compose up -d
Ensure the `lan` setting in server-settings.json is `true`.
```shell
```json
"visibility":
{
"public": false,