From f9e3bded3f627138e0772c11fe4b580302661595 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 28 Dec 2025 12:52:31 -0600 Subject: [PATCH] initial commit --- .gitignore | 1 + README.md | 29 +++++++++++++++++++++++++++++ docker-compose.yml | 11 +++++++++++ 3 files changed, 41 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2661ad --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +certs/ \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..26ca1d1 --- /dev/null +++ b/README.md @@ -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 +``` diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a245c02 --- /dev/null +++ b/docker-compose.yml @@ -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