Update ghost/docker-compose.yml

This commit is contained in:
2026-03-25 21:03:31 +00:00
parent e98c3864bb
commit 2a8a668bdc

View File

@@ -3,9 +3,6 @@ services:
image: ghost:6.22.1
container_name: ghost
deploy:
placement:
constraints:
- node.labels.target == here
replicas: 1
restart: always
ports:
@@ -41,13 +38,10 @@ services:
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
replicas: 1
restart: always
volumes:
- /media/gv0/docker/ghost/mysql:/var/lib/mysql:rw
- /media/gv0/docker/mysql/data:/var/lib/mysql:rw
environment:
MYSQL_ROOT_PASSWORD: Vegetable
MYSQL_DATABASE: ghostdb