mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-21 20:31:02 +01:00
Added cli commands
This commit is contained in:
parent
ab82afa7b9
commit
cc0e67dc23
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user