Update template.toml and docker-compose.yml to consolidate storage configuration in Garage blueprint (#298)

This commit is contained in:
Vincent Niehues
2025-08-23 11:24:58 +02:00
committed by GitHub
parent 8793a5c54d
commit 4b882a2f1f
2 changed files with 6 additions and 6 deletions

View File

@@ -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
- S3_ENDPOINT_URL
volumes:
garage-storage: {}

View File

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