1
0
Fork 0

atticd: use postgres

This commit is contained in:
Daniel Kempkens 2023-04-05 11:39:43 +02:00
parent 3dd11a9e6f
commit 00109d7c09
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
3 changed files with 30 additions and 20 deletions

View file

@ -1,21 +1,23 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE10R3A2ZyBBS0pw
KytWYmJDN1phZUsrdXFvYVRtVktSdFduK0N0NDJLVVZjV3d1TjBRCk95Zld3ZDdw
Mm41c0M5ZjBvNm5YZ3hOa3NOOUxieTV5M3g2bk1nL29ONkEKLT4gc3NoLWVkMjU1
MTkgc1ZmNkNBICtmUjVTblVyTVAxaTZUbXRPUHg2N1hudXNMcy9LMWpXOXVPWlBV
cXdJeEEKL3pldlRuaU9qb0N4ZS9KMnJVZWExK1VmT0NUZS9zRkNTcyt5ZDlQSjlO
MAotPiBuRS1ncmVhc2UgPXlTTDJlJiB7cCsmXkIgdTA6bwovYXlyeWhCYzFCa3ZR
M01BcTI1MzRQTHZ0UWorbW9rNXVRZkR1cmxxQlE0eUUveEpVa2hpWVExVm1UOFVE
YmVQCmZsM0VOTk0vM3haNHBVS0RUajJJRXg5ZUd1ZE1HdFprUnVLLzcxcG9NNWRF
RVBwWEtqOGpQV0EKLS0tIDJCR3FadFNRSUxidURtNzMybFYyMmtDUktnY095SEFO
MCtFTmMwVFgvVnMK0Fe7h1nOY+V7gP3V4gWwMJ/EXC9a0Jc1lFwH1gKFAw71epul
1PMsdO2T8lTn43r9A8B6Q2P53w37JKGheIUo58OfuQDuBNE7tliNMyQ28Lw4B4a4
NaIa980GSUE/mycowS5pn1G/Yw78iLyzpVaMlqQN+0p9JljvydOV4z7Qnjawyx8o
MdLEg6dtCrutPW3DW9hd1gwJxkFevFZcOW98y8EbVOrtwQwkhT+2yyM8w4fq60CK
rurgybW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x5oFk0b7QnDn9wu8LsaOKdsnPhVF+ZHNH
Rj7d/o5e0icyeej8cxU4s2D69vIgENPt8EllRt3kwFM7hOdxLQWKh5rAMu6jX2JH
YLqeHS23XUulASY4ghOQRvZ8eXVLOo1E5WLzNh+P5OJ+L4hn8DqdMaKb/Lictawi
X8T2phcS9abIjIzdwACODLBLbVpvvlAaC5V+O7faNFQ691fOjdYi1IVicL83etAL
Ij3vVkZESApFUqRhRUesZwrMjwe0iQLMNj8VzZ0g5Doc2hKyQE6P0A0wA6LYrasU
OzjeQBfGLewrtIOBWqYupJi8BLQhb+sawbNovHXL6QiskZY/pXIvIYSZATdadcHH
iKid+DlWiXqdaqQUZosub6NxXxzsVE6YC8etvne/gwdGucMsKF9AHSjO78ukQ7yz
6BInWthmSihAc0gvtfyi9vDjdXRpa4x8+oS8Xrdj71R7813HTps+ILlKzD/YyE/O
cK40hQWun6vy4xaCv/gL92Z1RpbSxGlbFYdm12DmuXuc2fPx5KcBYvhTIIAfbrMi
Mud6FrYfMFZFd9VdmqcExHU/lftNvYpRTOwgL7rFlIXU64jbCyivXinhI5z+xxl8
+g==
-----END AGE ENCRYPTED FILE-----

View file

@ -5,4 +5,11 @@ set -f # disable globbing
export IFS=' '
echo "Uploading $OUT_PATHS ..."
exec /run/current-system/sw/bin/attic push nifoc-systems $OUT_PATHS
if /run/current-system/sw/bin/attic push nifoc-systems $OUT_PATHS; then
exit 0
else
echo "Ignoring error ..."
exit 0
fi

View file

@ -13,6 +13,7 @@ in
settings = {
listen = "127.0.0.1:8080";
database.url = "postgresql://attic?host=10.99.99.3";
allowed-hosts = [ "${fqdn}" ];
api-endpoint = "https://${fqdn}/";