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

901 B

docker mastodon

create configuration

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

cleanup

cd {{docker_compose_instances_directory}}mastodon/
docker-compose down
docker volume rm mastodon_data mastodon_database mastodon_redis
cd {{docker_compose_instances_directory}} &&
rm -vR {{docker_compose_instances_directory}}mastodon

access terminal

docker-compose exec -it web /bin/bash

set rights

After setting up mastodon you need to give the rights

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

further information