Using /persistent now for persistent data volume; changed image tags slightly

This commit is contained in:
William Miceli
2024-02-23 18:19:37 -05:00
parent 48f55cd86c
commit 4c56c84296
3 changed files with 22 additions and 16 deletions

View File

@@ -11,17 +11,19 @@
# Usage
## Public Image Repository
[Docker Hub](https://hub.docker.com/r/williammiceli/satisfactory-server)
## Available Tags
- [`latest`](https://hub.docker.com/r/williammiceli/satisfactory-server/tags?name=latest)
- [`app_build_id-<id>`](https://hub.docker.com/r/williammiceli/satisfactory-server/tags?name=app_build_id)
- [`ci_build-<number>`](https://hub.docker.com/r/williammiceli/satisfactory-server/tags?name=ci_build)
- [`commit_sha-<hash>`](https://hub.docker.com/r/williammiceli/satisfactory-server/tags?name=commit_sha)
## Running This Image
### One-line (Useful for Testing)
```sh
docker run -d -p 7777:7777/udp -p 15000:15000/udp -p 15777:15777/udp -v /path/to/your/data:/home/steam/.config/Epic/FactoryGame/Saved williammiceli/satisfactory-server:latest
docker run -d -p 7777:7777/udp -p 15000:15000/udp -p 15777:15777/udp -v /path/to/your/data:/persistent williammiceli/satisfactory-server:latest
```
### Docker Compose
@@ -43,7 +45,7 @@ services:
volumes:
- type: bind
source: ./data # Path to your local directory for server data
target: /home/steam/.config/Epic/FactoryGame/Saved
target: /persistent
restart: unless-stopped
```
@@ -70,19 +72,18 @@ docker compose down
```sh
docker image pull williammiceli/satisfactory-server:latest
```
### Use SteamCMD In Running Container
```sh
steamcmd +force_install_dir /home/steam/satisfactory_server +login anonymous +app_update 1690800 -beta public validate +quit
```
![Player Thumbs Up](https://img2.storyblok.com/fit-in/0x800/filters:format(png)/f/110098/600x730/99e92fe34f/hero-graphic.png)
# Meta
* [Docker Hub](https://hub.docker.com/r/williammiceli/satisfactory-server)
* [Build System](https://drone.williammiceli.systems/William/Docker_Satisfactory-Server)
## Credits for Useful References