Update README.md

This commit is contained in:
rcastropolizainformatica 2021-03-23 14:00:59 +01:00 committed by GitHub
parent 2ae078bda5
commit 68e0e345a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -37,6 +37,31 @@ More config options can be found in the [documentation].
Restic backend specific env vars : https://restic.readthedocs.io/en/stable/040_backup.html#environment-variables
## Private CA certificates
Private CA certificates at volume /usr/local/share/ca-certificates
docker-compose.yaml
```yaml
version: '3'
services:
# The backup service
backup:
image: zettaio/restic-compose-backup:<version>
env_file:
- restic-backup.env
volumes:
- ./cacerts/:/usr/local/share/ca-certificates
# We need to communicate with docker
- /var/run/docker.sock:/tmp/docker.sock:ro
# Persistent storage of restic cache (greatly speeds up all restic operations)
- cache:/cache
volumes:
cache:
```
## Compose Example
We simply control what should be backed up by adding