Update ghost/docker-compose.yml
This commit is contained in:
@@ -3,9 +3,6 @@ services:
|
|||||||
image: ghost:6.22.1
|
image: ghost:6.22.1
|
||||||
container_name: ghost
|
container_name: ghost
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.labels.target == here
|
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -41,13 +38,10 @@ services:
|
|||||||
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
|
||||||
container_name: mysql
|
container_name: mysql
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.labels.database == here
|
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /media/gv0/docker/ghost/mysql:/var/lib/mysql:rw
|
- /media/gv0/docker/mysql/data:/var/lib/mysql:rw
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: Vegetable
|
MYSQL_ROOT_PASSWORD: Vegetable
|
||||||
MYSQL_DATABASE: ghostdb
|
MYSQL_DATABASE: ghostdb
|
||||||
|
|||||||
Reference in New Issue
Block a user