Compare commits

...

7 Commits

Author SHA1 Message Date
d202f1624a Use latest grafana image. 2024-02-27 05:46:55 +00:00
a0b1646675 Update node nixpkg. 2024-02-26 22:17:25 +00:00
8cdc5c62e4 More RAM. 2024-02-26 22:17:19 +00:00
2ce06d597c Add meta tag. 2024-02-26 22:17:10 +00:00
01181f3ffe Further increase redo log size. 2024-02-09 08:53:18 +00:00
8f48abc4b0 Meta tags. 2024-02-06 13:45:15 +00:00
1a999dc1a7 Update flake inputs. 2024-02-06 05:53:24 +00:00
7 changed files with 26 additions and 14 deletions

18
flake.lock generated
View File

@@ -40,11 +40,11 @@
},
"impermanence": {
"locked": {
"lastModified": 1703656108,
"narHash": "sha256-hCSUqdFJKHHbER8Cenf5JRzjMlBjIdwdftGQsO0xoJs=",
"lastModified": 1706639736,
"narHash": "sha256-CaG4j9+UwBDfinxxvJMo6yOonSmSo0ZgnbD7aj2Put0=",
"owner": "nix-community",
"repo": "impermanence",
"rev": "033643a45a4a920660ef91caa391fbffb14da466",
"rev": "cd13c2917eaa68e4c49fea0ff9cada45440d7045",
"type": "github"
},
"original": {
@@ -55,11 +55,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1705916986,
"narHash": "sha256-iBpfltu6QvN4xMpen6jGGEb6jOqmmVQKUrXdOJ32u8w=",
"lastModified": 1707091808,
"narHash": "sha256-LahKBAfGbY836gtpVNnWwBTIzN7yf/uYM/S0g393r0Y=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d7f206b723e42edb09d9d753020a84b3061a79d8",
"rev": "9f2ee8c91ac42da3ae6c6a1d21555f283458247e",
"type": "github"
},
"original": {
@@ -71,11 +71,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1705856552,
"narHash": "sha256-JXfnuEf5Yd6bhMs/uvM67/joxYKoysyE3M2k6T3eWbg=",
"lastModified": 1706913249,
"narHash": "sha256-x3M7iV++CsvRXI1fpyFPduGELUckZEhSv0XWnUopAG8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "612f97239e2cc474c13c9dafa0df378058c5ad8d",
"rev": "e92b6015881907e698782c77641aa49298330223",
"type": "github"
},
"original": {

View File

@@ -1,6 +1,10 @@
job "clickhouse" {
datacenters = ["alo"]
meta {
uuid = uuidv4()
}
group "db" {
network {
port "clickhouse" {

View File

@@ -1,6 +1,10 @@
job "farmos" {
datacenters = ["alo"]
meta {
uuid = uuidv4()
}
group "os" {
network {
port "http" {

View File

@@ -1,6 +1,10 @@
job "ghost" {
datacenters = ["alo"]
meta {
uuid = uuidv4()
}
group "web" {
network {
port "http" {

View File

@@ -12,7 +12,7 @@ job "grafana" {
driver = "docker"
config {
image = "grafana/grafana-enterprise"
image = "grafana/grafana-enterprise:latest"
ports = [ "http" ]
volumes = [ "/data/compute/appdata/grafana:/var/lib/grafana" ]
}

View File

@@ -24,7 +24,7 @@ job "instasync" {
driver = "exec"
config {
command = "/nix/store/2y52nmyfpsq497cppgc43x9v6lkp3q25-nodejs-20.5.1/bin/node"
command = "/nix/store/knc67zp8bgg3a3p10jmkzv7br0lmg9if-nodejs-20.9.0/bin/node"
args = ["/code/instasync/sync.js"]
}

View File

@@ -20,8 +20,8 @@ job "mysql" {
config {
image = "mysql:8.3"
args = [
# 200M, up from default of 100M to see if it helps with running out and crashing (glusterfs weirdness suspected)
"--innodb-redo-log-capacity=209715200",
# 300M, up from default of 100M
"--innodb-redo-log-capacity=314572800",
]
ports = ["db"]
volumes = [
@@ -46,7 +46,7 @@ job "mysql" {
resources {
cpu = 3000
memory = 1024
memory = 1500
}
}