nothing works, all is broken, dammit

This commit is contained in:
hugo gogo
2022-09-17 17:00:07 +02:00
parent 96193494a4
commit a676b6cffe
14 changed files with 700 additions and 111 deletions

View File

@@ -8,7 +8,7 @@
- communication between two containers : https://www.tutorialworks.com/container-networking/
- connecting two containers : https://stackoverflow.com/questions/45481943/connecting-two-docker-containers
- connect mysql docker to another : https://stackoverflow.com/questions/54901581/connect-to-a-mysql-server-running-in-a-docker-container-from-another-container
- fail with 'vant connect' : https://stackoverflow.com/questions/23234379/installing-mysql-in-docker-fails-with-error-message-cant-connect-to-local-mysq
- fail with 'cant connect' : https://stackoverflow.com/questions/23234379/installing-mysql-in-docker-fails-with-error-message-cant-connect-to-local-mysq
- maybe do something like starting mysql in wpdocker with hostname of mysql-docker ? mysql -h hostname ?
- or with port:port-protocol ? with tcp ?
@@ -78,6 +78,7 @@
- [use env variable with compose](https://docs.docker.com/compose/environment-variables/)
- [using DEBIAN_FRONTEND=noninteractive disouraged in dockerfile](https://bobcares.com/blog/debian_frontendnoninteractive-docker/)
- [docker network](https://docs.docker.com/network/)
- [depends_on](https://docs.docker.com/compose/compose-file/#depends_on)
###### docker pid 1
- nginx by default will create some child process (a master and some workers), then it quits (doc ?)
@@ -171,6 +172,7 @@
- [mysql commande line](https://mariadb.com/kb/en/mysql-command-line-client/)
- [use mysql in script](https://stackoverflow.com/questions/59608632/mariadb-create-database-and-execute-sql-script-without-character-from-the)
- [no need to use FLUSH PRIVILEGES after GRANT](https://stackoverflow.com/questions/36463966/mysql-when-is-flush-privileges-in-mysql-really-needed)
- [mysqld](https://dev.mysql.com/doc/refman/8.0/en/mysqld.html)
###### mariadb basic commands :
- create user :
@@ -205,7 +207,6 @@
- wget https://wordpress.org/latest.tar.gz
- tar -xzvf latest.tar.gz
- [install wp with wp-cli](https://make.wordpress.org/cli/handbook/how-to-install/)
- [php-fpm : Fastcgi Process Manager](https://en.wikipedia.org/wiki/FastCGI)
- [install wp-cli](https://make.wordpress.org/cli/handbook/guides/installing/)
- [cli commands](https://developer.wordpress.org/cli/commands/)