secret doesn't work yet
This commit is contained in:
10
README.md
10
README.md
@@ -153,6 +153,7 @@
|
||||
- `%` means all entrant connections, while `localhost` means only localhost connections
|
||||
- [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)
|
||||
|
||||
###### mariadb basic commands :
|
||||
- create user :
|
||||
@@ -161,7 +162,6 @@
|
||||
use mysql;
|
||||
CREATE USER 'some_user'@'%' IDENTIFIED BY 'some_pass';
|
||||
GRANT ALL PRIVILEGES ON *.* TO 'some_user'@'%' WITH GRANT OPTION;
|
||||
FLUSH PRIVILEGES;
|
||||
```
|
||||
- show users :
|
||||
```
|
||||
@@ -180,6 +180,14 @@
|
||||
DROP DATABASE <name>;
|
||||
```
|
||||
|
||||
###### use password in container :
|
||||
- [with env variables in compose](https://docs.docker.com/compose/environment-variables/)
|
||||
- [so discussion](https://stackoverflow.com/questions/22651647/docker-and-securing-passwords)
|
||||
- [docker build --secret tag](https://docs.docker.com/develop/develop-images/build_enhancements/#new-docker-build-secret-information)
|
||||
- [use secret with docker](https://www.rockyourcode.com/using-docker-secrets-with-docker-compose/)
|
||||
- [use secret with docker SO](https://stackoverflow.com/questions/42139605/how-do-you-manage-secret-values-with-docker-compose-v3-1)
|
||||
|
||||
|
||||
#### php-fpm
|
||||
- [](https://en.wikipedia.org/wiki/FastCGI)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user