diff --git a/roles/docker-mariadb/README.md b/roles/docker-mariadb/README.md index cb6f9f78..f7e6cf79 100644 --- a/roles/docker-mariadb/README.md +++ b/roles/docker-mariadb/README.md @@ -23,5 +23,10 @@ Configure the role by setting the required variables. These can be set in the pl - `database_username`: The username for the database user. - `database_password`: The password for the database user. +## Execute SQL commands +```bash +docker exec -it central-mariadb mysql -u root -p +``` + ## Contributing Contributions to this project are welcome. Please submit issues and pull requests with your suggestions. diff --git a/roles/docker-pixelfed/README.md b/roles/docker-pixelfed/README.md index 02a76ca6..0b7f3880 100644 --- a/roles/docker-pixelfed/README.md +++ b/roles/docker-pixelfed/README.md @@ -10,6 +10,11 @@ To gain shell access to the application container, run the following command: docker-compose exec -it application bash ``` +### Clear Cache +```bash +docker compose exec -it application php artisan cache:clear +``` + ### Database Access To access the MariaDB instance in the database container, run the following command: ```bash