aboutsummaryrefslogtreecommitdiff
path: root/app/garage/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'app/garage/deploy')
-rw-r--r--app/garage/deploy/garage.hcl29
1 files changed, 7 insertions, 22 deletions
diff --git a/app/garage/deploy/garage.hcl b/app/garage/deploy/garage.hcl
index ab03e70..01d5123 100644
--- a/app/garage/deploy/garage.hcl
+++ b/app/garage/deploy/garage.hcl
@@ -25,15 +25,14 @@ job "garage" {
driver = "docker"
config {
advertise_ipv6_address = true
- image = "lxpz/garage_amd64:v0.3.0.2"
+ image = "dxflrs/amd64_garage:v0.4-rc1"
+ command = "/garage"
+ args = [ "server" ]
network_mode = "host"
volumes = [
- "/mnt/storage/garage/data:/garage/data",
- "/mnt/ssd/garage/meta:/garage/meta",
- "secrets/garage.toml:/garage/config.toml",
- "secrets/garage-ca.crt:/garage/garage-ca.crt",
- "secrets/garage.crt:/garage/garage.crt",
- "secrets/garage.key:/garage/garage.key",
+ "/mnt/storage/garage/data:/data",
+ "/mnt/ssd/garage/meta:/meta",
+ "secrets/garage.toml:/etc/garage.toml",
]
logging {
type = "journald"
@@ -45,22 +44,8 @@ job "garage" {
destination = "secrets/garage.toml"
}
- # --- secrets ---
- template {
- data = "{{ key \"secrets/garage/garage-ca.crt\" }}"
- destination = "secrets/garage-ca.crt"
- }
- template {
- data = "{{ key \"secrets/garage/garage.crt\" }}"
- destination = "secrets/garage.crt"
- }
- template {
- data = "{{ key \"secrets/garage/garage.key\" }}"
- destination = "secrets/garage.key"
- }
-
resources {
- memory = 800
+ memory = 1500
cpu = 1000
}