From 4b882a2f1f62fe0f074c42909c4a7cefe920ff74 Mon Sep 17 00:00:00 2001 From: Vincent Niehues Date: Sat, 23 Aug 2025 11:24:58 +0200 Subject: [PATCH] Update `template.toml` and `docker-compose.yml` to consolidate storage configuration in Garage blueprint (#298) --- blueprints/garage-with-ui/docker-compose.yml | 9 ++++++--- blueprints/garage-with-ui/template.toml | 3 --- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/blueprints/garage-with-ui/docker-compose.yml b/blueprints/garage-with-ui/docker-compose.yml index 6359bbee..4c81937d 100644 --- a/blueprints/garage-with-ui/docker-compose.yml +++ b/blueprints/garage-with-ui/docker-compose.yml @@ -3,8 +3,8 @@ services: image: dxflrs/garage:v1.0.1 volumes: - ../files/garage.toml:/etc/garage.toml - - /etc/dokploy/templates/${HASH}/meta:/var/lib/garage/meta - - /etc/dokploy/templates/${HASH}/data:/var/lib/garage/data + - garage-storage:/var/lib/garage + - garage-storage:/var/lib/garage restart: unless-stopped ports: - 3900 @@ -22,4 +22,7 @@ services: environment: - AUTH_USER_PASS - API_BASE_URL - - S3_ENDPOINT_URL \ No newline at end of file + - S3_ENDPOINT_URL + +volumes: + garage-storage: {} \ No newline at end of file diff --git a/blueprints/garage-with-ui/template.toml b/blueprints/garage-with-ui/template.toml index 4286dcfc..37ee75a8 100644 --- a/blueprints/garage-with-ui/template.toml +++ b/blueprints/garage-with-ui/template.toml @@ -4,7 +4,6 @@ webui_domain = "web-ui.${domain}" ht_username = "${username}" ht_password = "${password:16}" - [config] env = [ "AUTH_USER_PASS=", @@ -22,8 +21,6 @@ serviceName = "garage-webui" port = 3909 host = "${webui_domain}" - - [[config.mounts]] filePath = "garage.toml" content = """