Added cli commands

This commit is contained in:
Kevin Veen-Birkenbach 2024-02-06 20:24:16 +01:00
parent ab82afa7b9
commit cc0e67dc23
2 changed files with 10 additions and 0 deletions

View File

@ -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_username`: The username for the database user.
- `database_password`: The password 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 ## Contributing
Contributions to this project are welcome. Please submit issues and pull requests with your suggestions. Contributions to this project are welcome. Please submit issues and pull requests with your suggestions.

View File

@ -10,6 +10,11 @@ To gain shell access to the application container, run the following command:
docker-compose exec -it application bash docker-compose exec -it application bash
``` ```
### Clear Cache
```bash
docker compose exec -it application php artisan cache:clear
```
### Database Access ### Database Access
To access the MariaDB instance in the database container, run the following command: To access the MariaDB instance in the database container, run the following command:
```bash ```bash