Skip to content

Ghost will not read custom theme in content/themes. #436

@broccolihighkicks

Description

@broccolihighkicks
docker run \
--platform=linux/arm64 \
--name ghost-01 \
-e NODE_ENV=development \
-p 127.0.0.1:2368:2368 \
-v "$(pwd)/vol/content:/var/lib/ghost/content" \
-v "$(pwd)/vol/config.development.json:/var/lib/ghost/config.development.json" \
-e server__host=0.0.0.0 \
ghost:5.116.2

I am using this to run a Ghost instance, and inside $(pwd)/vol/content/themes/starter on my macOS host I have the starter theme:

https://github.com/TryGhost/Starter

It is checked out from that git repo, npm installed, and npm run build has been run.

I restart the container, and the theme files are in the folder and readable from the container.

But the Ghost UI (Settings -> Themes -> Installed) does not show it.

I have also tried changing all the permissions of the files to chmod 777 and also changed them to be owned by node.

Is this the correct way to enable a custom theme with the docker container?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions