feat(auth): explicit transport modes
ACAUA_TRANSPORT (local, tls, proxy) is now required; a missing or invalid value stops the daemon. local refuses a non-loopback ACAUA_PUBLISHED, tls serves HTTPS via axum-server/rustls, proxy needs ACAUA_TRUSTED_PROXIES. HSTS is sent in tls and proxy modes. The image defaults to local. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5ad89d5be5
commit
dc8c7fa248
8 files changed
+430
-19
No files matched your search
@@ -42,6 +42,7 @@ LABEL org.opencontainers.image.title="Acauã" \
|
||||
org.opencontainers.image.source="https://git.lucasrguerra.dev.br/ciberfauna/acaua" \
|
||||
org.opencontainers.image.licenses="MIT OR Apache-2.0"
|
||||
ENV ACAUA_RUNTIME=container
|
||||
ENV ACAUA_TRANSPORT=local
|
||||
USER acaua
|
||||
WORKDIR /data
|
||||
EXPOSE 8787
|
||||
|
||||
Reference in new issue
Block a user