mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-23 14:51:56 -06:00
11d9b9db0e
This removes most of the code used for polylith/API mode. This removes the `/api` internal endpoints entirely. Binary size change roughly 5%: ``` 51437560 Feb 13 10:15 dendrite-monolith-server # old 48759008 Feb 13 10:15 dendrite-monolith-server # new ```
21 lines
553 B
Bash
Executable file
21 lines
553 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
# This script is intended to be used inside a docker container for Complement
|
|
|
|
if [[ "${COVER}" -eq 1 ]]; then
|
|
echo "Running with coverage"
|
|
exec /dendrite/dendrite-cover \
|
|
--really-enable-open-registration \
|
|
--tls-cert server.crt \
|
|
--tls-key server.key \
|
|
--config dendrite.yaml \
|
|
--test.coverprofile=complementcover.log
|
|
else
|
|
echo "Not running with coverage"
|
|
exec /dendrite/dendrite \
|
|
--really-enable-open-registration \
|
|
--tls-cert server.crt \
|
|
--tls-key server.key \
|
|
--config dendrite.yaml
|
|
fi
|