Giter VIP home page Giter VIP logo

Comments (6)

tianon avatar tianon commented on August 16, 2024

You should be able to swap:

      - ${PWD}:/var/lib/ghost

for: (mounting individual directories/files directly instead)

      - content:/var/lib/ghost/content
      - config.js:/var/lib/ghost/config.js
      # etc.

Does that help with the issue you're seeing?

from ghost.

jujes avatar jujes commented on August 16, 2024

I have the same issue, If I split volumes, not ghost container run...

I think docker create as 1000 root this folders..

drwxr-xr-x 6 1000 root 4096 Jun 16 14:13 .
drwxr-xr-x 3 root root 4096 Jun 16 14:13 ..
drwxr-xr-x 2 1000 root 4096 Jun 16 14:13 apps
-rw-r--r-- 1 1000 root 4276 Jun 16 14:13 config.js
drwxr-xr-x 2 1000 root 4096 Jun 16 14:13 data
drwxr-xr-x 2 1000 root 4096 Jun 16 14:13 images
drwxr-xr-x 3 1000 root 4096 Jun 16 14:13 themes

my docker-compose.yml

jujes:
  restart: always
  image: ghost
  container_name: jujes.com
  environment:
    - VIRTUAL_HOST=jujes.com
  volumes:
    - /home/vagrant/demo/jujes.com/src:/var/lib/ghost

from ghost.

SharpEdgeMarshall avatar SharpEdgeMarshall commented on August 16, 2024

Same issue here, someone could explain how to run the image correctly?

from ghost.

tianon avatar tianon commented on August 16, 2024

This has changed significantly as of Ghost 1.x, including the ability to set configuration parameters via environment variables (https://docs.ghost.org/v1.0.0/docs/config#section-running-ghost-with-config-env-variables).

from ghost.

pascalandy avatar pascalandy commented on August 16, 2024

I guess this should be closed :)
It's well explained in the README at https://hub.docker.com/_/ghost/

from ghost.

tianon avatar tianon commented on August 16, 2024

Indeed, thanks!

from ghost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.