From b085dd228bacae00ac30d44d593354d937d26f51 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Sun, 19 Feb 2023 21:06:32 +0100 Subject: [PATCH] Update docker-compose.yml fix database user definition --- ghost/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/docker-compose.yml b/ghost/docker-compose.yml index 6781ff6..b8d5c78 100644 --- a/ghost/docker-compose.yml +++ b/ghost/docker-compose.yml @@ -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