Git Product home page Git Product logo

docker-compose-ghost-quickstart's Introduction

Hi there , I'm Robin πŸ‘‹

I'm a Solution Engineer from πŸ‡ΈπŸ‡¬, and I am currently working @ Kong 🦍 , a rocket-ship that is innovating at the cloud-connectivity space. Please reach out to me for chat on anything APIs, Service Mesh or Cloud-native stack!

πŸ““ I'm learning

  • Golang
  • Deep-diving Kubernetes

πŸ“¨ Contact

Linkedin Β Β  Gmail Β Β 

πŸ‘£ Things i think i'm good at ..

  • Kubernetes
  • Ansible
  • Terraform
  • Javascripts (Angular and Node.js)
  • Java
  • Cloud Computing and Networking
  • API

🧳 My memories ..

  • DBS Bank
  • Government Technology Agency of Singapore
  • Thales Airlab

🧾 Certifications

  • Certified Kubernetes Application Developer
  • Certified Kubernetes Administrator
  • AWS Solution Architect Professional
  • AWS Security Specialist

My Technical Blog Posts

Robin's GitHub stats

docker-compose-ghost-quickstart's People

Contributors

grcpils avatar robincher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-compose-ghost-quickstart's Issues

Starting ghost ... error

Starting ghost ... error

ERROR: for ghost Cannot start service ghost: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/root/zettend.ru/ghost/volumes/config.production.json" to rootfs at "/var/lib/ghost/config.production.json" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for ghost Cannot start service ghost: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/root/zettend.ru/ghost/volumes/config.production.json" to rootfs at "/var/lib/ghost/config.production.json" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
ERROR: Encountered errors while bringing up the project.

Code -99 Error Starting Your Server

Hi team,

I have been trying to start my ghost container which was built by docker-compose. But I am getting the following error on the ghost container:

[2022-07-09 22:52:37] WARN Ghost was running for a few seconds
[2022-07-09 22:54:33] ERROR (Code: -99)
(Code: -99)
"There was an error starting your server."
"Please use the error code above to search for a solution."
Error ID:
1953d2c0-ffda-11ec-847e-8981c1a1bb63

InternalServerError: (Code: -99)
at Server. (/var/lib/ghost/versions/5.2.4/core/server/ghost-server.js:95:34)
at Server.emit (node:events:527:28)
at emitErrorNT (node:net:1399:8)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2022-07-09 22:54:33] WARN Ghost is shutting down
[2022-07-09 22:54:33] WARN Ghost has shut down

My docker-compose.xml as follows:

services:
ghost:
image: ghost:latest
container_name: ghost-test
hostname: ghost-test
volumes:
- /volume1/docker/ghost-test/config.production.json:/var/lib/ghost/config.production.json #overwrite default settings
- /volume1/docker/ghost-test/content:/var/lib/ghost/content
expose:
- "3307"
environment: # this section can be commented to start in dev mode by default
- NODE_ENV=production # set either production or development, then it will load the respective config
links:
- MySQL

And my config.production.json is as follows:

{
"url": "http://ghost.example.com",
"server": {
"port": 2369,
"host": "192.167.1.17"
},
"database": {
"client": "mysql",
"connection": {
"host": "mysql",
"port": 3307,
"user": "ghosttest",
"password": "ghostpassword",
"database": "ghostdb",
"charset": "utf8mb4"
}
},
"mail": {
"from": "'Custom Name' [email protected]",
"transport": "SMTP",
"logger": true,
"options": {
"host": "",
"secureConnection": false,
"auth": {
"user": "",
"pass": ""
}
}
},
"logging": {
"transports": [
"file",
"stdout"
]
},
"process": "systemd",
"paths": {
"contentPath": "/var/lib/ghost/content"
}
}

Not quite sure what's wrong. I have been trying to set on my environment without using bind environment variable, but that's the root cause.

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.