add readme
This commit is contained in:
parent
737efcf751
commit
9253d059b8
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
db/*
|
|
||||||
wordpress/*
|
|
||||||
23
readme.txt
Normal file
23
readme.txt
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
per impostare il nome del database e le password, modifica le variabili d'ambiente del servizio db:
|
||||||
|
|
||||||
|
MYSQL_ROOT_PASSWORD
|
||||||
|
MYSQL_DATABASE
|
||||||
|
MYSQL_USER
|
||||||
|
MYSQL_PASSWORD
|
||||||
|
|
||||||
|
ovviamente se le modifichi devi modificare anche la configurazione del servizio wordpress modificando le seguenti:
|
||||||
|
|
||||||
|
WORDPRESS_DB_USER: wordpress
|
||||||
|
WORDPRESS_DB_PASSWORD: wordpress
|
||||||
|
WORDPRESS_DB_NAME: wordpress
|
||||||
|
|
||||||
|
notare che la password di root del db (definita in: MYSQL_ROOT_PASSWORD) é ignota al servizio di wordpress.
|
||||||
|
|
||||||
|
ti serve per amministrare il db da phpmyadmin.
|
||||||
|
|
||||||
|
Host:
|
||||||
|
|
||||||
|
wordpress: http://localhost:8080
|
||||||
|
phpmyadmin: http://localhost:8081
|
||||||
|
|
||||||
|
la porta del database non è esposta.
|
||||||
Loading…
x
Reference in New Issue
Block a user