Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

Ghost

Ghost in Container

$ podman run -d –name some-ghost ghost $ podman run -d -p 3001:2368 -e url=http://localhost:3001 –name some-ghost ghost

Podman compose

version: '3.1'

services:

  ghost:
    image: ghost:1-alpine
    restart: always
    ports:
      - 8080:2368
    environment:
      # see https://docs.ghost.org/docs/config#section-running-ghost-with-config-env-variables
      database__client: mysql
      database__connection__host: db
      database__connection__user: root
      database__connection__password: example
      database__connection__database: ghost

  db:
    image: mysql:5.7
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: example
Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share:

Related Posts

nginx configuration samples

nginx configuration samples

Basic website configuration nginx proxy_pass - site2.com -> site1.com/site2-page Basic Reverse Proxy Configuration Basic website configuration …

How to Configure and Use GitHub Jekyll Local Environment

How to Configure and Use GitHub Jekyll Local Environment

Install Jekyll & Bundler Refer the documentation based on your Operating System.

Web

Hugo - Notes and Tips

Comment system options remark42.com Embedded partial templates