computer-playbook/roles/server_docker-mastodon
2023-04-18 14:52:43 +02:00
..
handlers Merged client playbook and server playbook 2023-04-18 14:52:43 +02:00
meta Merged client playbook and server playbook 2023-04-18 14:52:43 +02:00
tasks Merged client playbook and server playbook 2023-04-18 14:52:43 +02:00
templates Merged client playbook and server playbook 2023-04-18 14:52:43 +02:00
vars Merged client playbook and server playbook 2023-04-18 14:52:43 +02:00
README.md Merged client playbook and server playbook 2023-04-18 14:52:43 +02:00

docker mastodon

create configuration

    docker-compose run --rm web bundle exec rake mastodon:setup

cleanup

cd /home/administrator/docker-compose/mastodon/
docker-compose down
docker volume rm mastodon_data mastodon_database mastodon_redis
cd /home/administrator/docker-compose/ &&
rm -vR /home/administrator/docker-compose/mastodon

access terminal

docker exec -it mastodon-web-1 /bin/bash

set rights

After setting up mastodon you need to give the rights

docker exec -it -u root mastodon-web-1 chown -R 991:991 public

further information