Docker Compose Volume shows no differences in Frontend

  • What version of Ghost are you using? * Version 1.21.3
  • What configuration?
    {
    “url”: “http://localhost:2368”,
    “server”: {
    “port”: 2368,
    “host”: “0.0.0.0”
    },
    “database”: {
    “client”: “sqlite3”,
    “connection”: {
    “filename”: “/var/lib/ghost/content/data/ghost.db”
    }
    },
    “mail”: {
    “transport”: “Direct”
    },
    “logging”: {
    “transports”: [
    “file”,
    “stdout”
    ]
    },
    “process”: “systemd”,
    “paths”: {
    “contentPath”: “/var/lib/ghost/content”
    }
    }

Docker-Compose.yml:

version: ‘3.1’

services:
ghost:
container_name: ghost
image: ghost:2-alpine
restart: always
ports:
- 127.0.0.1:2368:2368
volumes:
- ./content:/var/lib/ghost/content
- ./config.development.json:/var/lib/ghost/config.production.json

I’m using the default casper theme and did no other changes before to the default installation.
My Problem ist, that whenever i change something in the mounted directory, i does not updates it in the frontend. I figured out, that the mounting is working. So the file inside the container is changing. Is there a hidden cache system? I don’t know what i’m doing wrong, but this should actually work, am i wrong?

1 Like

Hello, i updated to Version 2.22.1. I’m still unable to mount the directory. I confirmed, that there is no cache active. Also set no cache in frontend in config. I still have no clue what’s wrong.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.