1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-06-27 16:35:59 +00:00
conduit/tests/Complement.Dockerfile

39 lines
956 B
Text
Raw Permalink Normal View History

2021-12-07 19:03:08 +01:00
FROM matrixconduit/matrix-conduit:next-alpine AS conduit-complement
2021-12-07 19:03:08 +01:00
USER root
# TODO: REMOVE
# TODO: REMOVE
# TODO: REMOVE
# TODO: REMOVE
COPY --chown=1000:1000 ./conduit-debug-x86_64-unknown-linux-musl /srv/conduit/conduit
RUN chmod +x /srv/conduit/conduit
# TODO: REMOVE
# TODO: REMOVE
# TODO: REMOVE
# TODO: REMOVE
RUN apk add --no-cache caddy openssl && \
openssl genrsa -out "/conduit-https.key" 2048
2021-12-07 19:03:08 +01:00
ENV ROCKET_LOG=normal \
CONDUIT_LOG="info,rocket=info,_=off,sled=off" \
CONDUIT_CONFIG="" \
CONDUIT_DATABASE_PATH="/tmp/" \
CONDUIT_DATABASE_BACKEND="rocksdb" \
2021-12-07 19:03:08 +01:00
CONDUIT_SERVER_NAME=localhost \
CONDUIT_ADDRESS="0.0.0.0" \
CONDUIT_PORT="6167" \
CONDUIT_ALLOW_FEDERATION="true" \
CONDUIT_ALLOW_ENCRYPTION="true" \
CONDUIT_ALLOW_REGISTRATION="true"
COPY ./tests/complement-start.sh ./tests/complement-caddy.json /
RUN chmod +x /complement-start.sh
ENTRYPOINT ["/complement-start.sh"]
2022-01-20 11:51:31 +01:00
EXPOSE 8008 8448