mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-07 03:07:24 +01:00
minor text changes
This commit is contained in:
parent
648b81edf8
commit
2474da335e
18
README.md
18
README.md
@ -32,8 +32,11 @@ NOTE: This is only the server. The game is available at [factorio.com](https://w
|
||||
Run the server to create the necessary folder structure and configuration files. For this example data is stored in `/opt/factorio`.
|
||||
|
||||
```
|
||||
chown 845:845 /tmp/factorio # 0.16+ only
|
||||
docker run -d -p 34197:34197/udp -p 27015:27015/tcp \
|
||||
sudo mkdir -p /opt/factorio
|
||||
sudo chown 845:845 /opt/factorio
|
||||
sudo docker run -d \
|
||||
-p 34197:34197/udp \
|
||||
-p 27015:27015/tcp \
|
||||
-v /opt/factorio:/factorio \
|
||||
--name factorio \
|
||||
--restart=always \
|
||||
@ -153,6 +156,16 @@ To keep things simple, the container uses a single volume mounted at `/factorio`
|
||||
`-- _autosave1.zip
|
||||
|
||||
|
||||
## Docker Compose
|
||||
|
||||
```
|
||||
git clone https://github.com/dtandersen/docker_factorio_server.git
|
||||
sudo mkdir -p /opt/factorio
|
||||
sudo chown 845:845 /opt/factorio
|
||||
cd docker_factorio_server/0.16
|
||||
sudo docker-compose up -d
|
||||
```
|
||||
|
||||
## Ports
|
||||
|
||||
* `34197/udp` - Game server (required).
|
||||
@ -162,6 +175,7 @@ To keep things simple, the container uses a single volume mounted at `/factorio`
|
||||
## Environment Variables
|
||||
|
||||
* `PORT` (0.15+) - Start the server on an alterate port, .e.g. `docker run -e "PORT=34198"`.
|
||||
* `RCON_PORT` (0.16+) - Start the RCON on an alterate port, .e.g. `docker run -e "RCON_PORT=34198"`.
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
|
Loading…
Reference in New Issue
Block a user