2022年11月22日 星期二

Docker composer user authoor

 https://blog.wu-boy.com/2019/10/three-ways-to-setup-docker-user-and-group/

bug: mariadb Got an error reading communication

 Finally: not to solve it , but we can look

1. 

https://severalnines.com/blog/common-mysql-error-got-error-reading-communication-packet/

https://www.percona.com/blog/2016/05/16/mysql-got-an-error-reading-communication-packet-errors/


2. flask + sqlmyachle

https://www.maxlist.xyz/2020/10/06/flask-sqlalchemy-parameter/

https://flask-sqlalchemy.palletsprojects.com/en/2.x/config/


3. performance

https://www.datadoghq.com/blog/monitoring-mysql-performance-metrics/

https://stackoverflow.com/questions/2214039/command-to-check-read-write-ratio

dock-compose file

 1 environment

https://docs.docker.com/compose/environment-variables/


2. yaml future


anchored_content: &anchor_name This string will appear as the value of two keys. other_anchor: *anchor_name

ref

https://stackoverflow.com/questions/45805380/meaning-of-ampersand-in-docker-compose-yml-file