You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

813 B

fly.io

$ app=xxx
$ flyctl launch --name $app --no-deploy --region ams
$ flyctl volumes create ${app}_data --size 1 --region ams --app $app

db

$ flyctl postgres create
$ flyctl postgres attach ${app}_db -a $app
$ echo $POSTGRES_URL > database_url

key

$ sudo systemctl start docker
$ sudo docker run --rm -it -v $(pwd):/key -w /key --entrypoint /usr/bin/generate-keys matrixdotorg/dendrite-monolith --tls-cert server.crt --tls-key server.key --private-key matrix_key.pem

deploy

$ fly deploy

create user

$ flyctl ssh console
$ /usr/bin/create-account -config /etc/dendrite/dendrite.yaml -username USERNAME -password xxx -admin

domain

https://example.com/.well-known/matrix/server

{
    "m.server": "$app.fly.dev:8448"
}