Update: README & docker-compose example
This commit is contained in:
parent
7d29e33747
commit
7b241c142b
18
README.md
18
README.md
|
@ -112,23 +112,7 @@ In this directory will borg write all the client data to. It's best to start wit
|
|||
|
||||
## Example Setup
|
||||
### docker-compose.yml
|
||||
Here is a quick example, how to run borgserver using docker-compose:
|
||||
```
|
||||
services:
|
||||
borgserver:
|
||||
image: nold360/borgserver
|
||||
volumes:
|
||||
- /backup:/backup
|
||||
- ./sshkeys:/sshkeys
|
||||
ports:
|
||||
- "2222:22"
|
||||
environment:
|
||||
BORG_SERVE_ARGS: ""
|
||||
BORG_APPEND_ONLY: "no"
|
||||
BORG_ADMIN: ""
|
||||
PUID: 1000
|
||||
PGID: 1000
|
||||
```
|
||||
Here is a quick example, how to run borgserver using docker-compose: [docker-compose.yml](https://github.com/Nold360/docker-borgserver/blob/master/docker-compose.yml)
|
||||
|
||||
### ~/.ssh/config for clients
|
||||
With this configuration (on your borg client) you can easily connect to your borgserver.
|
||||
|
|
|
@ -9,12 +9,13 @@ services:
|
|||
ports:
|
||||
- "2222:22"
|
||||
environment:
|
||||
# Additional Arguments, see https://borgbackup.readthedocs.io/en/stable/usage/serve.html
|
||||
BORG_SERVE_ARGS: ""
|
||||
|
||||
# If set to "yes", only the BORG_ADMIN
|
||||
# can delete/prune the all clients archives/repos
|
||||
# can delete/prune the other clients archives/repos
|
||||
BORG_APPEND_ONLY: "no"
|
||||
|
||||
# Hostname of Admin's SSH-Key
|
||||
# Filename of Admins SSH-Key; has full access to all repos
|
||||
BORG_ADMIN: ""
|
||||
restart: unless-stopped
|
||||
|
|
Loading…
Reference in a new issue