mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-12-30 10:48:29 +01:00
Update docker-compose.yml
fix database user definition
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user