From 7eb1a2c03973aa1c1a41140fc5979535f531a94d Mon Sep 17 00:00:00 2001 From: john Date: Fri, 5 Dec 2025 14:47:10 +0000 Subject: [PATCH] Update ghost/docker-compose.yml Modify for the ELITE cluster --- ghost/docker-compose.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/ghost/docker-compose.yml b/ghost/docker-compose.yml index 83f9bd3..d542e16 100644 --- a/ghost/docker-compose.yml +++ b/ghost/docker-compose.yml @@ -1,10 +1,7 @@ services: ghost: image: ghost:latest - container_name: ghost deploy: -# placement: -# constraints: [node.role == worker] replicas: 1 restart: always ports: @@ -31,27 +28,18 @@ services: - mysql volumes: - /mnt/cephfs/docker/ghost/data:/var/lib/ghost/content -# networks: -# - caddy_net mysql: image: mysql:8.4.6 # latest or last version of version 8; Ghost doesn't recognise version 9 - container_name: mysql deploy: placement: constraints: - node.labels.database == here restart: always volumes: - - /mnt/cephfs/docker/ghost/mysql:/var/lib/mysql:rw + - /mnt/cephfs/docker/mysql/ghost:/var/lib/mysql:rw environment: MYSQL_ROOT_PASSWORD: Vegetable MYSQL_DATABASE: ghostdb MYSQL_USER: ghost MYSQL_PASSWORD: Carrot -# networks: -# - caddy_net - -#networks: -# caddy_net: -# external: true