docs: update readme & docker-compose.yml

This commit is contained in:
Khairul Hidayat 2024-11-18 10:18:03 +00:00
parent b8b87d8289
commit ccfa2cde25
2 changed files with 18 additions and 3 deletions

View File

@ -38,7 +38,11 @@ services:
- ./meta:/var/lib/garage/meta
- ./data:/var/lib/garage/data
restart: unless-stopped
network_mode: host
ports:
- 3900:3900
- 3901:3901
- 3902:3903
- 3903:3903
webui:
image: khairul169/garage-webui:latest
@ -48,6 +52,9 @@ services:
- ./garage.toml:/etc/garage.toml:ro
ports:
- 3909:3909
environment:
API_BASE_URL: "http://garage:3903"
S3_ENDPOINT_URL: "http://garage:3900"
```
### Without Docker

View File

@ -1,13 +1,17 @@
services:
garage:
image: dxflrs/garage:v1.0.0
image: dxflrs/garage:v1.0.1
container_name: garage
volumes:
- ./garage.toml:/etc/garage.toml
- ./meta:/var/lib/garage/meta
- ./data:/var/lib/garage/data
restart: unless-stopped
network_mode: host
ports:
- 3900:3900
- 3901:3901
- 3902:3903
- 3903:3903
webui:
image: khairul169/garage-webui:latest
@ -17,3 +21,7 @@ services:
- ./garage.toml:/etc/garage.toml:ro
ports:
- 3909:3909
environment:
API_BASE_URL: "http://garage:3903"
S3_ENDPOINT_URL: "http://garage:3900"