command
module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Aug 5, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
S3 Manager
A Web GUI written in Go to manage S3 buckets from any provider.
Usage
Configuration
The application can be configured with the following environment variables:
ENDPOINT
: The endpoint of your S3 server (defaults to s3.amazonaws.com
)
REGION
: The region of your S3 server (defaults to ""
)
ACCESS_KEY_ID
: Your S3 access key ID (required)
SECRET_ACCESS_KEY
: Your S3 secret access key (required)
USE_SSL
: Whether your S3 server uses SSL or not (defaults to true
)
SKIP_SSL_VERIFICATION
: Whether the HTTP client should skip SSL verification (defaults to false
)
PORT
: The port the s3manager app should listen on (defaults to 8080
)
Build and Run Locally
- Run
make build
- Execute the created binary and visit http://localhost:8080
Run Container image
- Run
docker run -p 8080:8080 -e 'ACCESS_KEY_ID=XXX' -e 'SECRET_ACCESS_KEY=xxx' mastertinner/s3manager
Development
Lint Code
- Run
make lint
Run Tests
- Run
make test
Build Container Image
The image is available on Docker Hub
- Run
make build-image
Run Locally for Testing
There is an example docker-compose.yml file that spins up an S3 service and the s3manager. You can try it by issuing the following command:
$ docker-compose up
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
internal
|
|
app/s3manager
Package s3manager allows to interact with an S3 compatible storage.
|
Package s3manager allows to interact with an S3 compatible storage. |
|
|
Click to show internal directories.
Click to hide internal directories.