atticd: commit non working storage for now
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
This commit is contained in:
parent
a8793b4247
commit
d85068b39c
1 changed files with 9 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
sops.secrets.attic-secret = {};
|
sops.secrets.attic-secret = {};
|
||||||
|
sops.secrets.s3-keyid = {};
|
||||||
|
sops.secrets.s3-secret-key = {};
|
||||||
|
|
||||||
services.atticd = {
|
services.atticd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
credentialsFile = "/etc/attic/atticd.env";
|
credentialsFile = config.sops.secrets.attic-secret.path;
|
||||||
settings = {
|
settings = {
|
||||||
listen = "[::]:8100";
|
listen = "[::]:8100";
|
||||||
allowed-hosts = ["cache.notohh.dev"];
|
allowed-hosts = ["cache.notohh.dev"];
|
||||||
|
@ -19,6 +21,12 @@
|
||||||
|
|
||||||
max-size = 256 * 1024; # 256 KiB
|
max-size = 256 * 1024; # 256 KiB
|
||||||
};
|
};
|
||||||
|
storage = {
|
||||||
|
type = "s3";
|
||||||
|
region = "us-east-005";
|
||||||
|
bucket = "notoh-binary-cache";
|
||||||
|
endpoint = "https://s3.us-east-005.backblazeb2.com";
|
||||||
|
};
|
||||||
garbage-collection = {
|
garbage-collection = {
|
||||||
interval = "12 hours";
|
interval = "12 hours";
|
||||||
default-retention-period = "2 weeks";
|
default-retention-period = "2 weeks";
|
||||||
|
|
Loading…
Reference in a new issue