Skip to content

Commit

Permalink
Merge pull request #4 from vinanrra/Added-SaveGames-path
Browse files Browse the repository at this point in the history
Added SaveGames path volumen
  • Loading branch information
vinanrra authored Oct 29, 2021
2 parents d0222bb + 48eae4e commit defef1d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ RUN chmod +x install.sh user.sh
#Ports
EXPOSE 15777/udp 15000/udp 7777/udp
#Shared folders to host
VOLUME /home/sfserver/serverfiles/ /home/sfserver/log/ /home/sfserver/lgsm/backup/ /home/sfserver/lgsm/config-lgsm/sfserver/
VOLUME /home/sfserver/serverfiles/ /home/sfserver/log/ /home/sfserver/lgsm/backup/ /home/sfserver/lgsm/config-lgsm/sfserver/ /home/sfserver/.config/Epic/FactoryGame/Saved/SaveGames
##############EXTRA CONFIG##############
ENTRYPOINT ["/home/sfserver/user.sh", "/home/sfserver/install.sh"]
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

### Docker

⚠️ Change paths before using the command, these path are examples

```bash
docker run -d \
--name sfserver \
Expand All @@ -28,6 +30,7 @@ docker run -d \
-v "./LogFolder:/home/sfserver/log/" \
-v "./BackupFolder:/home/sfserver/lgsm/backup/" \
-v "./LGSM-Config:/home/sfserver/lgsm/config-lgsm/sfserver/" \
-v "./SavesGames:/home/sfserver/.config/Epic/FactoryGame/Saved/SaveGames" \
-p 15777:15777/udp \
-p 15000:15000/udp \
-p 7777:7777/udp \
Expand All @@ -44,14 +47,16 @@ docker run -d \

### docker-compose

⚠️ Change paths before using the command, these path are examples

```yaml
version: '2'
services:
sfserver:
image: vinanrra/satisfactory-server
container_name: sfserver
environment:
- START_MODE=1 #Change between START MODES
- START_MODE=1 # Change between START MODES
- PUID=1000 # Remember to use same as your user
- PGID=1000 # Remember to use same as your user
- TimeZone=Europe/Madrid
Expand All @@ -60,10 +65,11 @@ services:
- MONITOR=YES # Keeps server up if crash
- VERSION=public # Change between server versions
volumes:
- ./ServerFiles:/home/sfserver/serverfiles/ #Optional, serverfiles
- ./log:/home/sfserver/log/ #Optional, logs
- ./backups:/home/sfserver/lgsm/backup/ #Optional, backups
- ./ServerFiles:/home/sfserver/serverfiles/ # Optional, serverfiles
- ./log:/home/sfserver/log/ # Optional, logs
- ./backups:/home/sfserver/lgsm/backup/ # Optional, backups
- ./LGSM-Config:/home/sfserver/lgsm/config-lgsm/sfserver # Optional, LGSM-Config
- ./SavesGames:/home/sfserver/.config/Epic/FactoryGame/Saved/SaveGames # Satisfactory Saves
ports:
- 15777:15777/udp
- 15000:15000/udp
Expand All @@ -79,6 +85,7 @@ services:
| `/path/to/Logs:/home/sfserver/log/` | Satisfactory server log files. |
| `/path/to/BackupFolder:/home/sfserver/lgsm/backup/` | Satisfactory server backups files. |
| `/path/to/LGSM-Config:/home/sfserver/lgsm/config-lgsm/sfserver/` | LGSM config files. [More info](https://docs.linuxgsm.com/commands/monitor) |
| `/path/to/SavesGames:/home/sfserver/.config/Epic/FactoryGame/Saved/SaveGames` | Game save files path |
| `15777:15777/udp` | Default Satisfactory port **required** |
| `15000:15000/udp` | Default Satisfactory port **required** |
| `7777:7777/udp` | Default Satisfactory port **required** |
Expand Down

0 comments on commit defef1d

Please sign in to comment.