matrix server
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.
 
 
syui 15419b4c6f
fix conf
4 months ago
.gitignore first commit 4 months ago
Dockerfile first commit 4 months ago
dendrite.yaml fix conf 4 months ago
entrypoint.sh first commit 4 months ago
fly.toml first commit 4 months ago
readme.md fix 4 months ago

readme.md

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"
}