Skip to content

Commit

Permalink
Reflected user permissions (#43 #44)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolveix committed Oct 27, 2021
1 parent cdd2a4e commit b5b425f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ You'll need to bind a local directory to the Docker container's `/config` direct
- `/gamefiles` - this is for the game's files. They're stored outside of the container to avoid needing to redownload 15GB+ every time you want to rebuild the container
- `/saves` - this is for the game's saves. They're copied into the container on start

Before running the server image, you should find your user ID that will be running the container. This isn't necessary in most cases, but it's good to find out regardless. If you're seeing `permission denied` errors, then this is probably why. Find your ID in `Linux` by running the `id` command. Then grab the user ID (usually something like `1000`) and pass it into the `--user=1000` argument.

Run the Satisfactory server image like this:

```
docker run -d --name=satisfactory-server -h satisfactory-server -v /path/to/config:/config -p 7777:7777/udp -p 15000:15000/udp -p 15777:15777/udp wolveix/satisfactory-server:latest
docker run -d --name=satisfactory-server -h satisfactory-server -v /path/to/config:/config -p 7777:7777/udp -p 15000:15000/udp -p 15777:15777/udp --user=1000 wolveix/satisfactory-server:latest
```

If you're using [Docker Compose](https://docs.docker.com/compose/):
Expand All @@ -34,6 +36,7 @@ services:
- '7777:7777/udp'
- '15000:15000/udp'
- '15777:15777/udp'
user: 1000
volumes:
- '/path/to/config:/config'
restart: unless-stopped
Expand Down

0 comments on commit b5b425f

Please sign in to comment.