Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aoirint/mstdn.aoirint.com
Mastodonの個人用インスタンス
https://github.com/aoirint/mstdn.aoirint.com
self-hosting
Last synced: about 1 month ago
JSON representation
Mastodonの個人用インスタンス
- Host: GitHub
- URL: https://github.com/aoirint/mstdn.aoirint.com
- Owner: aoirint
- License: unlicense
- Created: 2022-02-05T23:52:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-26T12:57:48.000Z (about 1 month ago)
- Last Synced: 2024-11-26T13:40:22.965Z (about 1 month ago)
- Topics: self-hosting
- Homepage: https://mstdn.aoirint.com
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mstdn.aoirint.com
- [CLI ドキュメント](https://docs.joinmastodon.org/admin/tootctl/)
## アカウント作成
```shell
sudo docker compose exec web bin/tootctl accounts create example_acct --email [email protected] --confirmed
```## Backup DB
```shell
docker compose down
docker compose up -d db
docker compose exec db pg_dump -Fc -U mastodon mastodon > "backups/postgres_$(date '+%Y-%m-%d_%H-%M-%S').dump"
```## Restore DB
```shell
docker compose down
rm -rf postgres/
docker compose up -d db
cat backups/postgres.dump | docker compose exec -T db pg_restore -U mastodon -d mastodon --single-transaction
```