From 12890319738927b1761f064214d6a48215cf8c21 Mon Sep 17 00:00:00 2001 From: James Walker Date: Wed, 14 Sep 2022 12:23:01 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20bump=20to=20ghost=205=20+=20mysq?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e9df8ce..60d0c94 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,24 @@ version: "3" services: ghost: - image: ghost:4-alpine + image: ghost:5-alpine ports: - 2368:2368 + environment: + # see https://ghost.org/docs/config/#configuration-options + database__client: mysql + database__connection__host: db + database__connection__user: root + database__connection__password: password + database__connection__database: ghost + url: http://localhost:2368 restart: unless-stopped volumes: - ghost:/var/lib/ghost/content + db: + image: mysql:8.0 + restart: always + environment: + MYSQL_ROOT_PASSWORD: password volumes: ghost: