This commit is contained in:
Gabriel Simmer 2024-07-12 20:27:44 +01:00
parent 8f2dfb2238
commit c055342313
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ
3 changed files with 10 additions and 1 deletions

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