mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added README.md
This commit is contained in:
17
roles/docker-wordpress/README.md
Normal file
17
roles/docker-wordpress/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# role docker-wordpress
|
||||
|
||||
## database access
|
||||
To access the database execute
|
||||
```bash
|
||||
docker exec -it wordpress_database_1 /bin/mysql -u wordpress -p
|
||||
```
|
||||
## bash in application
|
||||
docker exec -it wordpress_application_1 /bin/sh
|
||||
|
||||
## update wp-config.php
|
||||
```bash
|
||||
cat > wp-config.php << EOF
|
||||
<?php
|
||||
#content
|
||||
EOF
|
||||
```
|
Reference in New Issue
Block a user