Skip to content

Commit

Permalink
chore: backups custom location and config file docs (immich-app#13996)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackpollard authored and bdavis2-PCTY committed Nov 18, 2024
1 parent 09d1413 commit 009fb88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/guides/custom-locations.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ In our `.env` file, we will define variables that will help us in the future whe
+ THUMB_LOCATION=/custom/path/immich/thumbs
+ ENCODED_VIDEO_LOCATION=/custom/path/immich/encoded-video
+ PROFILE_LOCATION=/custom/path/immich/profile
+ BACKUP_LOCATION=/custom/path/immich/backup
...
```

Expand All @@ -30,6 +31,7 @@ services:
+ - ${THUMB_LOCATION}:/usr/src/app/upload/thumbs
+ - ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video
+ - ${PROFILE_LOCATION}:/usr/src/app/upload/profile
+ - ${BACKUP_LOCATION}:/usr/src/app/upload/backup
- /etc/localtime:/etc/localtime:ro
```

Expand Down
7 changes: 7 additions & 0 deletions docs/docs/install/config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ The default configuration looks like this:
"accel": "disabled",
"accelDecode": false
},
"backup": {
"database": {
"enabled": true,
"cronExpression": "0 02 * * *",
"keepLastAmount": 14
}
},
"job": {
"backgroundTask": {
"concurrency": 5
Expand Down

0 comments on commit 009fb88

Please sign in to comment.