mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 06:31:04 +01:00
.. | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
vars | ||
README.md |
role server_docker-pixelfed
access application
docker-compose exec -it application bash
access database
docker-compose exec -it database mariadb -u pixelfed -p
cleanup instagram imports
mysql
DELETE from import_posts WHERE 1;
DELETE from import_jobs WHERE 1;
DELETE from import_datas WHERE 1;
DELETE from statuses where created_at < "2022-12-01 22:15:39";
DELETE from media where deleted_at >= "2023-07-28 14:39:05";
files
docker-compose exec -u "www-data" application rm -rv "/var/www/storage/app/imports/1"
docker-compose exec -u "www-data" application php artisan schedule:run
hard cleanup
docker-compose down
docker volume rm pixelfed_application_data pixelfed_database pixelfed_redis_data
update
cd {{path_docker_compose_files}}pixelfed/ &&
docker-compose down &&
docker network prune -f &&
docker-compose pull &&
docker-compose build &&
docker-compose -p pixelfed up -d --force-recreate
inspect
docker-compose ps -a
docker-compose logs -f