matrix server
You can not 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
6 days ago
.gitignore first commit 7 days ago
Dockerfile first commit 7 days ago
dendrite.yaml fix conf 6 days ago
entrypoint.sh first commit 7 days ago
fly.toml first commit 7 days ago
readme.md fix 7 days 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"
}