use conduwuit but with docker
This commit is contained in:
parent
ef48e8a4ee
commit
ee9ab2e9d3
2 changed files with 15 additions and 14 deletions
|
@ -49,9 +49,11 @@ ntfy.cything.io {
|
||||||
cything.io {
|
cything.io {
|
||||||
import common
|
import common
|
||||||
uri strip_prefix /blog
|
uri strip_prefix /blog
|
||||||
reverse_proxy /.well-known/matrix/* localhost:8448
|
|
||||||
reverse_proxy /_matrix/* localhost:8448
|
reverse_proxy /_matrix/* localhost:8448
|
||||||
reverse_proxy localhost:8084
|
reverse_proxy localhost:8084
|
||||||
|
|
||||||
|
respond /.well-known/matrix/server {"m.server":"chat.cything.io:443"}
|
||||||
|
respond /.well-known/matrix/client {"m.server":{"base_url":"https://chat.cything.io"},"m.homeserver":{"base_url":"https://chat.cything.io"},"org.matrix.msc3575.proxy":{"url":"https://chat.cything.io"}}
|
||||||
}
|
}
|
||||||
|
|
||||||
www.cything.io {
|
www.cything.io {
|
||||||
|
|
|
@ -5,25 +5,24 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
virtualisation.oci-containers.containers.conduit = {
|
virtualisation.oci-containers.containers.conduit = {
|
||||||
image = "matrixconduit/matrix-conduit:latest";
|
image = "ghcr.io/girlbossceo/conduwuit:main";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ports = [ "127.0.0.1:8448:8448" ];
|
ports = [ "127.0.0.1:8448:8448" ];
|
||||||
pull = "newer";
|
pull = "newer";
|
||||||
environment = {
|
environment = {
|
||||||
CONDUIT_SERVER_NAME = "cything.io";
|
CONDUWUIT_SERVER_NAME = "cything.io";
|
||||||
CONDUIT_DATABASE_PATH = "/var/lib/matrix-conduit/";
|
CONDUWUIT_DATABASE_PATH = "/var/lib/conduwuit";
|
||||||
CONDUIT_DATABASE_BACKEND = "rocksdb";
|
CONDUWUIT_PORT = "8448";
|
||||||
CONDUIT_PORT = "8448";
|
CONDUWUIT_MAX_REQUEST_SIZE = "20000000"; # in bytes ~20MB
|
||||||
CONDUIT_MAX_REQUEST_SIZE = "20000000"; # in bytes ~20MB
|
CONDUWUIT_ALLOW_REGISTRATION = "false";
|
||||||
CONDUIT_ALLOW_REGISTRATION = "false";
|
CONDUWUIT_ALLOW_FEDERATION = "true";
|
||||||
CONDUIT_ALLOW_FEDERATION = "true";
|
CONDUWUIT_ALLOW_CHECK_FOR_UPDATES = "true";
|
||||||
CONDUIT_ALLOW_CHECK_FOR_UPDATES = "true";
|
CONDUWUIT_TRUSTED_SERVERS = ''["matrix.org"]'';
|
||||||
CONDUIT_TRUSTED_SERVERS = ''["matrix.org"]'';
|
CONDUWUIT_ADDRESS = "0.0.0.0";
|
||||||
CONDUIT_ADDRESS = "0.0.0.0";
|
# CONDUIT_CONFIG = "";
|
||||||
CONDUIT_CONFIG = "";
|
|
||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"/opt/conduit/db:/var/lib/matrix-conduit/"
|
"/opt/conduit/db:/var/lib/conduwuit/"
|
||||||
];
|
];
|
||||||
networks = [ "conduit-net" ];
|
networks = [ "conduit-net" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue