mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-29 16:01:04 +01:00
307 B
307 B
role docker-wordpress
database access
To access the database execute
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
cat > wp-config.php << EOF
<?php
#content
EOF