initial commit

This commit is contained in:
John Lancaster
2025-12-28 12:52:31 -06:00
commit f9e3bded3f
3 changed files with 41 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
certs/

29
README.md Normal file
View 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
View 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