Compare commits
1 commit
5d6648ecba
...
63029c8b8e
Author | SHA1 | Date | |
---|---|---|---|
63029c8b8e |
4 changed files with 28 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2960,7 +2960,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serves3"
|
name = "serves3"
|
||||||
version = "1.1.2"
|
version = "1.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bytes",
|
"bytes",
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "serves3"
|
name = "serves3"
|
||||||
version = "1.1.2"
|
version = "1.2.0"
|
||||||
|
|
||||||
authors = ["Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>"]
|
authors = ["Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>"]
|
||||||
description = "A very simple proxy to browse files from private S3 buckets"
|
description = "A very simple proxy to browse files from private S3 buckets"
|
||||||
|
|
21
Containerfile
Normal file
21
Containerfile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# SPDX-FileCopyrightText: © Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
|
||||||
|
# SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
FROM docker.io/rust:1.88-alpine3.20
|
||||||
|
|
||||||
|
RUN apk --no-cache add musl-dev && \
|
||||||
|
cargo install --path .
|
||||||
|
|
||||||
|
FROM docker.io/alpine:3.20
|
||||||
|
|
||||||
|
COPY --from=rust /usr/local/cargo/bin/serves3 /usr/bin/serves3
|
||||||
|
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
|
ENV ROCKET_PROFILE=production
|
||||||
|
|
||||||
|
# This env variable should be in the format:
|
||||||
|
# {endpoint=<endpoint>,region=<region>,access_key_id=<access_key_id>,secret_access_key=<secret_access_key>}
|
||||||
|
ENV ROCKET_S3_BUCKET={endpoint=,region=,access_key_id=,secret_access_key=}
|
||||||
|
|
||||||
|
CMD ["serves3"]
|
|
@ -109,6 +109,11 @@ serves3
|
||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 1.2.0
|
||||||
|
|
||||||
|
* Migrate to [object_store](https://crates.io/crates/object_store)
|
||||||
|
* Bump dependencies
|
||||||
|
|
||||||
## 1.1.2
|
## 1.1.2
|
||||||
|
|
||||||
* Bump dependencies, adopt Rust 2024 edition
|
* Bump dependencies, adopt Rust 2024 edition
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue