computer-playbook/roles/docker-mastodon
2024-01-02 12:23:25 +01:00
..
meta Refactored docker rroles dto use new role docker-compose 2023-12-30 16:49:37 +01:00
tasks Added draft for central postgres and mariadb. variables and networks still need to be adapted 2023-12-31 11:14:18 +01:00
templates Implemented variable mapping to reduce complexity 2024-01-02 12:23:25 +01:00
vars Added draft for central postgres and mariadb. variables and networks still need to be adapted 2023-12-31 11:14:18 +01:00
README.md renamed variable 2023-12-07 16:56:43 +01:00

docker mastodon

create configuration

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

cleanup

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