mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 02:45:02 +01:00
Added README.md
This commit is contained in:
parent
305c7d91ff
commit
c6bf70cebb
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
|
||||
```
|
Loading…
Reference in New Issue
Block a user