MyGit

mindmill/ladon-s3-server

Fork: 20 Star: 59 (更新于 2024-10-29 19:59:45)

license: 暂无

Language: Java .

S3 Java Api Implementation

最后发布版本: 2.3.2 ( 2022-03-31 16:32:30)

GitHub网址

Build Status

Ladon S3 Server

Build your own S3 Server and keep your data safe!

The Ladon S3 Server is built using Java 8-13 and Maven

For > Java 17 look at the java17 branch.

Jetty Example

If you prefer to run it with Jetty have a look at the Jetty example

    mvn package && java -jar ladon-s3-server-jetty/target/ladon-s3-server-jetty-2.3.2.jar

Spring Boot:

    mvn package && java -jar ladon-s3-server-boot/target/ladon-s3-server-boot-2.3.2.jar

Or run Docker:

mvn package &&  docker run -i --network=host  mindconsulting/ladon:2.3.2

Example credentials

  AWSCredentials credentials = new BasicAWSCredentials(
                "rHUYeAk58Ilhg6iUEFtr",
                "IVimdW7BIQLq9PLyVpXzZUq8zS4nLfrsoiZSJanu");

Customize:

The core functions of S3 are mapped to a class called S3Repository. All you have to do is provide a bean of this type.

    @Bean
    S3Repository s3Repository() {
        return new YourCustomRepository();
    }

The request base path for the controller is configured with a property:

s3server.baseUrl=/api/s3

For a quick start there is an example for a file system storage added.

public class FSRepository {...}

If you want to use it, you have to specify the root directory where it will store the data. Default is: {user.home}/.s3server

s3server.fsrepo.root=${user.home}/.s3server

For other configuration options have a look at the application.properties

Supported so far is only access via REST API, no ACL, no policies, no torrent ....

To see what you can build with it have a look at Ladon Data Center Edition

License

Copyright (C) 2024 Mind Consulting

Free for private use, easy commercial licensing available here

最近版本更新:(数据更新于 2024-09-01 10:59:41)

2022-03-31 16:32:30 2.3.2

2021-08-27 05:34:32 2.3.1

2021-08-10 21:34:31 2.3.0

2021-07-27 00:02:48 2.2.0

2021-06-27 04:19:52 2.1.2

2019-09-09 06:38:30 2.1.0

2018-10-15 07:36:59 2.0.0

mindmill/ladon-s3-server同语言 Java最近更新仓库

2024-11-05 04:13:47 Stirling-Tools/Stirling-PDF

2024-11-04 20:43:19 xiaojieonly/Ehviewer_CN_SXJ

2024-11-04 02:03:13 exzhawk/EhViewer

2024-11-03 00:43:09 PBH-BTN/PeerBanHelper

2024-10-31 18:52:00 CodePhiliaX/Chat2DB

2024-10-31 11:19:43 mybatis-flex/mybatis-flex