mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-04-23 13:17:34 +00:00
Update docker-compose.yml
fix database user definition
This commit is contained in:
parent
594b5ae127
commit
b085dd228b
@ -13,7 +13,7 @@ services:
|
|||||||
# see https://ghost.org/docs/config/#configuration-options
|
# see https://ghost.org/docs/config/#configuration-options
|
||||||
database__client: mysql
|
database__client: mysql
|
||||||
database__connection__host: database
|
database__connection__host: database
|
||||||
database__connection__user: root
|
database__connection__user: ghost
|
||||||
database__connection__password: MyStrongDatabasePassword
|
database__connection__password: MyStrongDatabasePassword
|
||||||
database__connection__database: ghost
|
database__connection__database: ghost
|
||||||
url: https://blog.example.com # change this
|
url: https://blog.example.com # change this
|
||||||
@ -43,5 +43,5 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: AnotherStrongDatabasePasswordForRootUser
|
MYSQL_ROOT_PASSWORD: AnotherStrongDatabasePasswordForRootUser
|
||||||
MYSQL_DATABASE: ghost
|
MYSQL_DATABASE: ghost
|
||||||
MYSQL_USER: user
|
MYSQL_USER: ghost
|
||||||
MYSQL_PASSWORD: MyStrongDatabasePassword
|
MYSQL_PASSWORD: MyStrongDatabasePassword
|
||||||
|
Loading…
x
Reference in New Issue
Block a user