Update docker-compose.yml

fix database user definition
This commit is contained in:
LRVT 2023-02-19 21:06:32 +01:00 committed by GitHub
parent 594b5ae127
commit b085dd228b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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