Comments (6)
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.
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.
Same issue here, someone could explain how to run the image correctly?
from ghost.
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.
I guess this should be closed :)
It's well explained in the README at https://hub.docker.com/_/ghost/
from ghost.
Indeed, thanks!
from ghost.
Related Issues (20)
- Custom Port HOT 1
- DatabaseError: Access denied for user HOT 3
- 5.43.0 Released without AMD tags HOT 1
- Request for updated Docker Image. HOT 1
- ghost new version doesnt work HOT 1
- SQLITE_ERROR: no such column: author_id HOT 1
- ETA On ghost:5.54.2 docker container image in dockerhub? HOT 2
- Sign in and subscription buttons do not function HOT 6
- connection refused
- ghost:5.65-alpine: no matching manifest for linux/arm/v7 in the manifest list entries HOT 2
- find: /var/lib/ghost/content/themes/source: No such file or directory HOT 7
- Tag 5.75.1 cannot be pulled HOT 2
- Alpine images failing to build for arm32vN and arm64v8 HOT 13
- Updating from 5.0.1 -> 5-alpine seems to wipe the entire database? HOT 1
- Unable to post the blog on my website through a self hosted ghost page
- Missing ARM Tags for Docker Image 5.76.2 HOT 2
- "Cannot get /"
- Upgrade error
- mysql version 8.4 - ''mysql_native_password' is deprecated and will be removed in a future release HOT 1
- Ghost docker image build HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghost.