initial commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
certs/
|
||||
29
README.md
Normal file
29
README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# [Soteria]
|
||||
|
||||
Soteria: https://en.wikipedia.org/wiki/Soteria_(mythology)
|
||||
|
||||
> In Greek mythology, Soteria (Greek: Σωτηρία) was the goddess or spirit (daimon) of safety and salvation, deliverance, and preservation from harm
|
||||
|
||||
## Restic REST Server
|
||||
|
||||
[restic / **rest-server**](https://github.com/restic/rest-server)
|
||||
|
||||
[REST backend](https://restic.readthedocs.io/en/latest/100_references.html#rest-backend)
|
||||
|
||||
## Certificates
|
||||
|
||||
[Certificate Renewal](https://smallstep.com/docs/step-ca/renewal/)
|
||||
|
||||
```
|
||||
step ca certificate soteria.john-stream.com foo.crt foo.key --provisioner admin
|
||||
```
|
||||
|
||||
## Restic Repos
|
||||
|
||||
Mounted using a bind mount point in the LXC.
|
||||
|
||||
https://pve.proxmox.com/wiki/Linux_Container#_bind_mount_points
|
||||
|
||||
```
|
||||
pct set 103 -mp0 /mnt/nfs/restic,mp=/mnt/restic
|
||||
```
|
||||
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
rest-server:
|
||||
image: restic/rest-server
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- /mnt/restic:/data
|
||||
- ./certs:/certs:ro
|
||||
environment:
|
||||
- OPTIONS=--tls --tls-cert /certs/foo.crt --tls-key /certs/foo.key
|
||||
Reference in New Issue
Block a user