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 = """