computer-playbook/roles/docker-mastodon
2023-08-22 22:53:44 +02:00
..
handlers Removed server_ for better overview 2023-08-22 22:53:44 +02:00
meta Removed server_ for better overview 2023-08-22 22:53:44 +02:00
tasks Removed server_ for better overview 2023-08-22 22:53:44 +02:00
templates Removed server_ for better overview 2023-08-22 22:53:44 +02:00
vars Removed server_ for better overview 2023-08-22 22:53:44 +02:00
README.md Removed server_ for better overview 2023-08-22 22:53:44 +02:00

docker mastodon

create configuration

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

cleanup

cd {{path_docker_compose_files}}mastodon/
docker-compose down
docker volume rm mastodon_data mastodon_database mastodon_redis
cd {{path_docker_compose_files}} &&
rm -vR {{path_docker_compose_files}}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