forked from Deuxfleurs/nixcfg
staging: reduce litestream memory_max because it uses it all
This commit is contained in:
parent
6db4ec5311
commit
e4684ae169
1 changed files with 2 additions and 3 deletions
|
@ -55,7 +55,7 @@ job "im" {
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
memory = 100
|
memory = 100
|
||||||
memory_max = 1000
|
memory_max = 500
|
||||||
cpu = 1000
|
cpu = 1000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,6 @@ AWS_ACCESS_KEY_ID={{ key "secrets/synapse/s3_access_key" | trimSpace }}
|
||||||
AWS_SECRET_ACCESS_KEY={{ key "secrets/synapse/s3_secret_key" | trimSpace }}
|
AWS_SECRET_ACCESS_KEY={{ key "secrets/synapse/s3_secret_key" | trimSpace }}
|
||||||
AWS_DEFAULT_REGION=garage-staging
|
AWS_DEFAULT_REGION=garage-staging
|
||||||
S3_ENDPOINT=http://{{ env "attr.unique.network.ip-address" }}:3990
|
S3_ENDPOINT=http://{{ env "attr.unique.network.ip-address" }}:3990
|
||||||
|
|
||||||
EOH
|
EOH
|
||||||
destination = "secrets/env"
|
destination = "secrets/env"
|
||||||
env = true
|
env = true
|
||||||
|
@ -205,7 +204,7 @@ EOH
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
memory = 200
|
memory = 200
|
||||||
memory_max = 1000
|
memory_max = 200
|
||||||
cpu = 100
|
cpu = 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue