From 3617f8d44366de1013e5796afa319977abf8ddc9 Mon Sep 17 00:00:00 2001 From: msnie Date: Fri, 7 Jun 2024 12:04:08 +0200 Subject: [PATCH] ghost --- ghost/docker-compose.yml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/ghost/docker-compose.yml b/ghost/docker-compose.yml index 61c988e..b9f0c64 100644 --- a/ghost/docker-compose.yml +++ b/ghost/docker-compose.yml @@ -6,11 +6,13 @@ services: - /srv/ghost:/var/lib/ghost/content environment: url: https://read.knast.cc - database__client: mysql - database__connection__host: ghost_db - database__connection__user: root - database__connection__password: RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ - database__connection__database: ghost + database__client: sqlite3 + database__connection__filename: /var/lib/ghost/content/data/ghost.db + # database__client: mysql + # database__connection__host: ghost_db + # database__connection__user: root + # database__connection__password: RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ + # database__connection__database: ghost networks: - traefik - default @@ -25,16 +27,16 @@ services: - "traefik.http.routers.ghost.rule=Host(`read.$DOMAIN_NAME`)" - "traefik.http.routers.ghost.tls.certresolver=letsencr" - ghost_db: - image: mysql:8 - networks: - - default - restart: unless-stopped - command: --default-authentication-plugin=mysql_native_password - environment: - MYSQL_ROOT_PASSWORD: RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ - volumes: - - /srv/ghost_mysql:/var/lib/mysql + # ghost_db: + # image: mysql:8 + # networks: + # - default + # restart: unless-stopped + # command: --default-authentication-plugin=mysql_native_password + # environment: + # MYSQL_ROOT_PASSWORD: RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ + # volumes: + # - /srv/ghost_mysql:/var/lib/mysql # ports: # - 3366:3306