-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
746c0f0
commit c9a5352
Showing
4 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
# Palworld Archive Repair | ||
|
||
## Docker Compose | ||
## Docker Compose | ||
|
||
```yaml | ||
services: | ||
palworld: | ||
image: thijsvanloef/palworld-server-docker:latest | ||
#... | ||
volumes: | ||
- ./data:/palworld/ | ||
|
||
archive-repair: | ||
image: qian/palworld-archive-repair:latest | ||
volumes: | ||
- ./data/Pal/Saved/SaveGames/0/9B6884AE9C8644F0A07D67CA7475E474/Players:/data/Players | ||
- ./data/log:/var/log | ||
environment: | ||
- CRON_REPAIR=*/5 * * * * | ||
restart: unless-stopped | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
echo "$CRON_REPAIR python /PalRepair/repair.py >> /var/log/repair.log 2>&1" > /etc/crontabs/root | ||
cat /etc/crontabs/root | ||
python /PalRepair/repair.py | ||
crond -f | ||
|
||
#keep | ||
/bin/sh |