mirror of
https://github.com/khairul169/garage-webui.git
synced 2025-04-27 22:39:31 +07:00
docs: update readme & docker-compose.yml
This commit is contained in:
parent
b8b87d8289
commit
ccfa2cde25
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user