mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 04:31:13 +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_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.
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user