mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
Update template.toml and docker-compose.yml to consolidate storage configuration in Garage blueprint (#298)
This commit is contained in:
@@ -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: {}
|
||||
@@ -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 = """
|
||||
|
||||
Reference in New Issue
Block a user