Mercurial > libervia-backend
view docker/backend-dev-demo/Dockerfile @ 3888:aa7197b67c26
component AP gateway: AP <=> XMPP reactions conversions:
- Pubsub Attachments plugin has been renamed to XEP-0470 following publication
- XEP-0470 has been updated to follow 0.2 changes
- AP reactions (as implemented in Pleroma) are converted to XEP-0470
- XEP-0470 events are converted to AP reactions (again, using "EmojiReact" from Pleroma)
- AP activities related to attachments (like/reactions) are cached in Libervia because
it's not possible to retrieve them from Pleroma instances once they have been emitted
(doing an HTTP get on their ID returns a 404). For now those cache are not flushed, this
should be improved in the future.
- `sharedInbox` is used when available. Pleroma returns a 500 HTTP error when ``to`` or
``cc`` are used in a direct inbox.
- reactions and like are not currently used for direct messages, because they can't be
emitted from Pleroma in this case, thus there is no point in implementing them for the
moment.
rel 371
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 31 Aug 2022 17:07:03 +0200 |
parents | d5fd630b57bb |
children | 04cd749de818 |
line wrap: on
line source
FROM libervia/backend:dev LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>" USER root # we install pre-generated demo certificates so they can be trusted COPY --chown=root:root certificates/minica.pem /usr/local/share/ca-certificates/minica.crt COPY --chown=root:tls-cert certificates/server1.test/cert.pem /usr/share/libervia/certificates/server1.test.pem COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/libervia/certificates/server1.test-key.pem RUN update-ca-certificates COPY --chown=root:root libervia.conf /etc/libervia.conf USER libervia RUN ./entrypoint.sh \ # we create the file sharing component which will autoconnect when backend is started jp profile create file-sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file-sharing -A && \ libervia-backend stop RUN ./entrypoint.sh \ # and a demo account jp profile create demo -j demo@server1.test -p "demo" && \ libervia-backend stop USER libervia # HTTP Upload EXPOSE 7777