Update ghost/docker-compose.yml

This commit is contained in:
2026-01-08 16:19:12 +00:00
parent 4fc012d59a
commit e5e2692f53

View File

@@ -1,11 +1,7 @@
services: services:
ghost: ghost:
image: ghost:6.10.3 image: ghost:6.10.3
deploy: container_name: ghost
replicas: 1
placement:
constraints:
- node.labels.target == here
restart: always restart: always
ports: ports:
- 2368:2368 - 2368:2368
@@ -34,10 +30,7 @@ services:
mysql: mysql:
image: mysql:8.4.6 # latest or last version of version 8; Ghost doesn't recognise version 9 image: mysql:8.4.6 # latest or last version of version 8; Ghost doesn't recognise version 9
deploy: container_name: mysql8
placement:
constraints:
- node.labels.database == here
restart: always restart: always
volumes: volumes:
- /mnt/cephfs/docker/mysql/ghost:/var/lib/mysql:rw - /mnt/cephfs/docker/mysql/ghost:/var/lib/mysql:rw