Go to file
syui e430051e24
first
2023-01-09 14:54:13 +09:00
.gitignore first 2023-01-09 14:54:13 +09:00
Dockerfile first 2023-01-09 14:54:13 +09:00
config.yaml.example first 2023-01-09 14:54:13 +09:00
fly.toml first 2023-01-09 14:54:13 +09:00
readme.md first 2023-01-09 14:54:13 +09:00

readme.md

fly.io

Dockerfile

FROM superseriousbusiness/gotosocial

WORKDIR /gotosocial
ADD config.yaml /gotosocial/

CMD ["--config-path", "/gotosocial/config.yaml"]
$ app=xxx
$ fly launch --name $app
$ fly vol create ${app}_data --size 1 -a $app

config

config.yaml

host: "$app.fly.dev"
db-type: "sqlite"
db-address: "/data/goto/sqlite.db"
accounts-registration-open: false

fly.toml

[mounts]
source="$app_data"
destination="/data/goto"

deploy

$ fly deploy

create user

$ fly ssh consosh consolee
$ /gotosocial/gotosocial --config-path /gotosocial/config.yaml admin account create --username $user --email $mail --password $pass
$ /gotosocial/gotosocial --config-path /gotosocial/config.yaml admin account confirm --username $user
$ /gotosocial/gotosocial --config-path /gotosocial/config.yaml admin account promote --username $user

post

gotosocial is no ui.

setting : /user

web client : https://pinafore.social

domain

https://github.com/superseriousbusiness/gotosocial/blob/main/example/config.yaml

https://github.com/felx/mastodon-documentation/blob/master/Running-Mastodon/Serving_a_different_domain.md

https://example.com/.well-known/host-meta

<?xml version="1.0" encoding="UTF-8"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
  <Link rel="lrdd" type="application/xrd+xml" template="https://example.com/.well-known/webfinger?resource={uri}"/>
</XRD>

config.yaml

host: "$app.fly.dev"
account-domain: "example.com"