computer-playbook/roles/docker-mastodon
2022-11-16 16:04:01 +01:00
..
handlers added mastodon docker draft 2022-11-15 11:56:48 +01:00
meta added mastodon docker draft 2022-11-15 11:56:48 +01:00
tasks optimized mastodon and pixelfed implementation 2022-11-16 16:04:01 +01:00
templates added configuration for single user mode 2022-11-16 09:31:10 +01:00
vars added mastodon docker draft 2022-11-15 11:56:48 +01:00
readme.md Updated readme.md 2022-11-15 22:09:40 +01: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