S3 API File Uploads #1

Open
arch wants to merge 4 commits from s3-file-upload into master
3 changed files with 10 additions and 1 deletions
Showing only changes of commit 600930d466 - Show all commits

View file

@ -1,4 +1,4 @@
FROM golang:1.21.6-bookworm as build
FROM docker.io/golang:1.21.6-bookworm as build
ENV CGO_ENABLED=0 \
GOOS=linux \

View file

@ -38,4 +38,9 @@ install:
cp -f $(man_pages) $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
[ -f $(DESTDIR)$(config_path) ] || cp -f config.in $(DESTDIR)$(config_path)
container:
buildah manifest create soju-multiarch
buildah bud --tag soju:latest --manifest soju-multiarch --arch amd64 .
buildah bud --tag soju:latest --manifest soju-multiarch --arch arm64 .
.PHONY: soju sojudb sojuctl clean install

View file

@ -166,6 +166,10 @@ The following directives are supported:
Supported drivers:
- _fs_ stores uploaded files on disk. _source_ is required.
- _s3_ stores uploaded files in an s3-compatible api. _source_ is required and should be <s3 endpoint>/<bucket name>.
*file-cdn* <url>
Set the base url/cdn for file uploads, useful if using s3.
*http-origin* <patterns...>
List of allowed HTTP origins for WebSocket listeners. The parameters are