Heya, I'm having issue with persisting data across restarts (e.g. docker compose down/up). I can't seem to see the posts and the theme activated once this image is restarted, using the below Compose file contents (aimed at local development). Any advice would be much welcomed. Thanks in advance, Nick.
Heya, I'm having issue with persisting data across restarts (e.g. docker compose down/up). I can't seem to see the posts and the theme activated once this image is restarted, using the below Compose file contents (aimed at local development). Any advice would be much welcomed. Thanks in advance, Nick.
version: "3.7"
services: ghost: image: ghost:alpine ports:
see https://ghost.org/docs/config/#configuration-options
databaseclient: mysql databaseconnectionhost: db databaseconnectionuser: root databaseconnectionpassword: password databaseconnection__database: ghost working_dir: /var/lib/ghost volumes:
NODE_ENV=development
db: image: mysql:8.0 environment: MYSQL_ROOT_PASSWORD: password MYSQL_DATABASE: ghost MYSQL_USER: root MYSQL_PASSWORD: password volumes:
volumes: tessellateDB: tessellateDBConfig: