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

View File

@@ -13,7 +13,7 @@ services:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
database__connection__host: database
database__connection__user: root
database__connection__user: ghost
database__connection__password: MyStrongDatabasePassword
database__connection__database: ghost
url: https://blog.example.com # change this
@@ -43,5 +43,5 @@ services:
environment:
MYSQL_ROOT_PASSWORD: AnotherStrongDatabasePasswordForRootUser
MYSQL_DATABASE: ghost
MYSQL_USER: user
MYSQL_USER: ghost
MYSQL_PASSWORD: MyStrongDatabasePassword