computer-playbook/roles/server_docker-mastodon/README.md

32 lines
940 B
Markdown
Raw Normal View History

2022-11-15 11:56:48 +01:00
# docker mastodon
## create configuration
```bash
2023-04-18 15:41:14 +02:00
server_docker-compose run --rm web bundle exec rake mastodon:setup
2022-11-15 11:56:48 +01:00
```
2022-11-15 21:43:05 +01:00
## cleanup
```bash
2023-04-18 15:41:14 +02:00
cd /home/administrator/server_docker-compose/mastodon/
server_docker-compose down
2022-11-15 21:43:05 +01:00
docker volume rm mastodon_data mastodon_database mastodon_redis
2023-04-18 15:41:14 +02:00
cd /home/administrator/server_docker-compose/ &&
rm -vR /home/administrator/server_docker-compose/mastodon
2022-11-15 21:43:05 +01:00
```
## access terminal
```bash
2022-11-15 22:09:40 +01:00
docker exec -it mastodon-web-1 /bin/bash
2022-11-15 21:43:05 +01:00
```
## set rights
2022-11-15 22:09:40 +01:00
After setting up mastodon you need to give the rights
2022-11-15 21:43:05 +01:00
```bash
2022-11-15 22:09:40 +01:00
docker exec -it -u root mastodon-web-1 chown -R 991:991 public
2022-11-15 21:43:05 +01:00
```
2022-11-15 11:56:48 +01:00
## further information
2023-04-18 15:41:14 +02:00
- https://goneuland.de/mastodon-mit-server_docker-und-traefik-installieren/
2022-11-15 11:56:48 +01:00
- https://gist.github.com/TrillCyborg/84939cd4013ace9960031b803a0590c4
2022-11-15 21:43:05 +01:00
- https://www.2daygeek.com/linux-command-check-website-is-up-down-alive/
- https://vitobotta.com/2022/11/07/setting-up-a-personal-mastodon-instance/