Skip to content

Commit

Permalink
support minio, closes #114
Browse files Browse the repository at this point in the history
  • Loading branch information
Clivern committed Mar 26, 2021
1 parent b378144 commit 5e8979e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.16.2

ARG WALRUS_VERSION=0.1.7
ARG WALRUS_VERSION=0.1.8

ENV GO111MODULE=on

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
<p align="center">
<a href="https://github.com/Clivern/Walrus/actions"><img src="https://github.com/Clivern/Walrus/workflows/Build/badge.svg"></a>
<a href="https://github.com/Clivern/Walrus/actions"><img src="https://github.com/Clivern/Walrus/workflows/Release/badge.svg"></a>
<a href="https://github.com/Clivern/Walrus/releases"><img src="https://img.shields.io/badge/Version-0.1.7-red.svg"></a>
<a href="https://goreportcard.com/report/github.com/Clivern/Walrus"><img src="https://goreportcard.com/badge/github.com/Clivern/Walrus?v=0.1.7"></a>
<a href="https://github.com/Clivern/Walrus/releases"><img src="https://img.shields.io/badge/Version-0.1.8-red.svg"></a>
<a href="https://goreportcard.com/report/github.com/Clivern/Walrus"><img src="https://goreportcard.com/badge/github.com/Clivern/Walrus?v=0.1.8"></a>
<a href="https://hub.docker.com/r/clivern/walrus"><img src="https://img.shields.io/badge/Docker-Latest-green"></a>
<a href="https://github.com/Clivern/Walrus/blob/master/LICENSE"><img src="https://img.shields.io/badge/LICENSE-MIT-orange.svg"></a>
</p>
</p>
<br/>
<p align="center">
<img src="https://raw.githubusercontent.com/Clivern/Walrus/main/assets/chart.png?v=0.1.7" width="80%" />
<img src="https://raw.githubusercontent.com/Clivern/Walrus/main/assets/chart.png?v=0.1.8" width="80%" />
</p>
<p align="center">
<h3 align="center">Dashboard Screenshots</h3>
<p align="center">
<img src="https://raw.githubusercontent.com/Clivern/Walrus/main/assets/screenshot_02.png?v=0.1.7" width="90%" />
<img src="https://raw.githubusercontent.com/Clivern/Walrus/main/assets/screenshot_03.png?v=0.1.7" width="90%" />
<img src="https://raw.githubusercontent.com/Clivern/Walrus/main/assets/screenshot_02.png?v=0.1.8" width="90%" />
<img src="https://raw.githubusercontent.com/Clivern/Walrus/main/assets/screenshot_03.png?v=0.1.8" width="90%" />
</p>
</p>

Expand Down
7 changes: 4 additions & 3 deletions core/storage/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ type S3 struct {
func NewS3Client(key, secret, endpoint, region string) *S3 {
return &S3{
config: &aws.Config{
Credentials: credentials.NewStaticCredentials(key, secret, ""),
Endpoint: aws.String(endpoint),
Region: aws.String(region),
Credentials: credentials.NewStaticCredentials(key, secret, ""),
Endpoint: aws.String(endpoint),
Region: aws.String(region),
S3ForcePathStyle: aws.Bool(true),
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion deployment/docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $ curl https://ipinfo.io/ip
In the host where backups have to take place, download walrus binary.

```bash
$ curl -sL https://github.com/Clivern/Walrus/releases/download/v0.1.7/walrus_0.1.7_Linux_x86_64.tar.gz | tar xz
$ curl -sL https://github.com/Clivern/Walrus/releases/download/v0.1.8/walrus_0.1.8_Linux_x86_64.tar.gz | tar xz
```

Create agent config file. Don't forget to replace `agent.tower` configs with the `tower URL`, `apiKey` and `encryptionKey`, you can get these values from tower configs you created earlier.
Expand Down
2 changes: 1 addition & 1 deletion deployment/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
walrus:
image: 'clivern/walrus:release-v0.1.7'
image: 'clivern/walrus:release-v0.1.8'
ports:
- "8000:8000"
command: '/app/walrus tower -c /app/configs/config.yml'
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj
github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A=
github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU=
github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.38.6 h1:h0AKIaz/A1kEJ50HxCv7tL1GW+KbxYbp75+lZ/nvFOI=
github.com/aws/aws-sdk-go v1.38.6/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go v1.38.7 h1:uOu2IrTiNhcSNAjBmA21t48lTx5mgGdcFKamDjXMscA=
github.com/aws/aws-sdk-go v1.38.7/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
Expand Down

0 comments on commit 5e8979e

Please sign in to comment.