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