Skip to content

Commit

Permalink
🔀 Merge pull request #71 from AnotherStranger/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
AnotherStranger authored Dec 13, 2023
2 parents 22c421c + d6f03b4 commit b071e4d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [2.2.1-rc.1](https://github.com/AnotherStranger/docker-borg-backup/compare/v2.2.0...v2.2.1-rc.1) (2023-12-13)


### Code Refactoring

* **docs:** :memo: update documentation for BORG_AUTHORIZED_KEYS ([d0ba5ca](https://github.com/AnotherStranger/docker-borg-backup/commit/d0ba5ca8eac5550d7f5e2629d07070b0da094cb9))
* :recycle: keep old way of adding authorized keys in docker-compose.yml ([607bdea](https://github.com/AnotherStranger/docker-borg-backup/commit/607bdea704e52e976f805dbbfb27c7d2af0803f7))

## [2.2.0](https://github.com/AnotherStranger/docker-borg-backup/compare/v2.1.4...v2.2.0) (2023-12-13)


Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ volumes:
### Environment variables

<!-- markdownlint-disable -->
| Variable | Description | Example |
|------------------------------|-----------------------------------------------------------------------------------|------------------------|
| `BORG_AUTHORIZED_KEYS` | Public ssh keys for backups. Use either this Variable or the authorized_key file. | `<key-one>\n<key-two>` |
| `BORG_UID` | UID for the backup user. | `1000` |
| `BORG_GID` | GID for the backup user. | `1000` |
| `BORG_SERVE_ADDITIONAL_ARGS` | Additional CMD args to borg serve | `--append-only` |
| Variable | Description | Example |
|------------------------------|--------------------------------------------------------------------------------------------------------------------------------|------------------------|
| `BORG_AUTHORIZED_KEYS` | Public ssh keys for backups. Use either this Variable or the authorized_key file. May contain comment lines starting with `#` | `<key-one>\n<key-two>` |
| `BORG_UID` | UID for the backup user. | `1000` |
| `BORG_GID` | GID for the backup user. | `1000` |
| `BORG_SERVE_ADDITIONAL_ARGS` | Additional CMD args to borg serve | `--append-only` |
<!-- markdownlint-enable -->

### Important Notes
Expand Down
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ services:

image: horaceworblehat/borg-server
environment:
# Specify you public ssh keys here. Separate keys by adding \n
BORG_AUTHORIZED_KEYS: "key_one\nkey_two"
# Specify you public ssh keys here. You can also separate keys by adding \n
BORG_AUTHORIZED_KEYS: |
# comment
key_one
# another comment
key_two
# BORG_AUTHORIZED_KEYS: key_one\nkey_two
BORG_SERVE_ADDITIONAL_ARGS: "--storage-quota 900G --append-only"
BORG_UID: "1000"
BORG_GID: "1000"
Expand Down

0 comments on commit b071e4d

Please sign in to comment.