Portainer Templates

Ghost (stack)

Blog

Create your own platform on the web. Ghost is a powerful app for new-media creators to publish, share, and grow a business around their content. It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members.

Type Kubernetes Platform linux Sourced Repo

Services

ghost

Image ghost:latest Ports

8080:2368

Volumes

/var/lib/ghost/content : /portainer/Files/AppData/Config/ghost

Restart Policy always Env Vars

mysql=''ghost-db=''root=''example=''ghost=''http://localhost:8080=''

Pulls: 374.2M
Stars: 2k
User: stackbrew
Created: Feb 23, 2015
Updated: 1 day ago
Status: active

ghost-db

Image mysql:8.0 Restart Policy always Env Vars

example=''

Pulls: 4.9B
Stars: 16.1k
User: stackbrew
Created: Jun 05, 2014
Updated: 10 days ago
Status: active

Installation

Via Portainer

  1. Ensure both Docker and Portainer are installed, and up-to-date
  2. Log into your Portainer web UI
  3. Under Settings → App Templates, paste the below URL
  4. Head to Home → App Templates, and the list of apps will show up
  5. Select the app you wish to deploy, fill in any config options, and hit Deploy

Template Import URL

https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
Show Me demo

Via Docker Run

Service #1 - ghost

docker run --name ghost -d \
 -e "" \
 -e "" \
 -e "" \
 -e "" \
 -e "" \
 -e "" \
 -p 8080:2368 \
 -v /portainer/Files/AppData/Config/ghost:/var/lib/ghost/content \
 --restart=always \
 ghost:latest

Service #2 - ghost-db

docker run --name ghost-db -d \
 -e "" \
 --restart=always \
 mysql:8.0

Via Docker Compose

Save this file as docker-compose.yml and run docker-compose up -d
Use this only as a guide.

- name: ghost
  image: ghost:latest
  ports:
    - '8080:2368'
  volumes:
    - bind: /portainer/Files/AppData/Config/ghost
      container: /var/lib/ghost/content
  restart_policy: always
  env:
    - name: mysql
      value: ''
    - name: ghost-db
      value: ''
    - name: root
      value: ''
    - name: example
      value: ''
    - name: ghost
      value: ''
    - name: http://localhost:8080
      value: ''
- name: ghost-db
  image: mysql:8.0
  restart_policy: always
  env:
    - name: example
      value: ''

Alternative Methods

For more installation options, see the Documentation in the GitHub repo

Container Documentation

ghost Documentation

Publish by web and email newsletter, with member signups and subscription payments.

ghost-db Documentation

MySQL is a widely used, open-source relational database management system (RDBMS).