I installed Ghost using the code below. When I start my container, a folder with “Content” is created in the same directory. But this is empty. So where can I access all my files?
version: '3.1'
services:
ghost-benedikt:
image: ghost:latest
restart: always
ports:
- 2368:2368
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
database__connection__host: db
database__connection__user: root
database__connection__password: example
database__connection__database: ghost-benedikt
# this url value is just an example, and is likely wrong for your environment!
url: https://benedikt.xn--schchner-2za.de
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
#NODE_ENV: development
volumes:
- /home/schaechner/ghost-benedikt/content/:/var/lib/ghost-benedikt/content
- /home/schaechner/ghost-benedikt/config.production.json:/var/lib/ghost-benedikt/config.production.json
db:
image: mysql:8.0
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
volumes:
- db:/var/lib/mysql
volumes:
ghost-benedikt:
db: