GithubHelp home page GithubHelp logo

yobasystems / alpine-ghost Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 166 KB

Ghost Blog running on Alpine Linux [Docker]

Home Page: https://hub.docker.com/r/yobasystems/alpine-ghost/

CSS 20.17% Shell 29.03% Dockerfile 50.80%
ghost alpine docker-image yobasystems

alpine-ghost's Introduction

Ghost container image running on Alpine Linux

Docker Automated build Docker Pulls Docker Stars

Alpine Version Ghost Version

This container image (yobasystems/alpine-ghost) is based on the minimal Alpine Linux using the yobasystems/alpine-nodejs base container image yobasystems/alpine-nodejs.

Alpine Version 3.19.1 (Released 2023-01-26)

Ghost Version 5.82.1

Table of Contents

๐Ÿ”๏ธ What is Alpine Linux?

Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is only 5 MB in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications. Read more about Alpine Linux here and you can see how their mantra fits in right at home with container images.

What is Ghost?

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.

โœจ Features

  • Minimal size only, minimal layers
  • Memory usage is minimal on a simple install.

๐Ÿ—๏ธ Architectures

  • :amd64, :x86_64 - 64 bit Intel/AMD (x86_64/amd64)
  • :arm64v8, :aarch64 - 64 bit ARM (ARMv8/aarch64)
  • :arm32v7, :armhf - 32 bit ARM (ARMv7/armhf)

๐Ÿ“ PLEASE CHECK TAGS BELOW FOR SUPPORTED ARCHITECTURES, THE ABOVE IS A LIST OF EXPLANATION

๐Ÿท๏ธ Tags

  • :latest latest branch based (Automatic Architecture Selection)
  • :master master branch usually inline with latest
  • :amd64, :x86_64 amd64 based on latest tag but amd64 architecture
  • :aarch64, :arm64v8 Armv8 based on latest tag but arm64 architecture
  • :armhf, :arm32v7 Armv7 based on latest tag but arm32 architecture
  • :v5.82.1 version number related to Ghost version

๐Ÿ“ Layers & Sizes

Version MicroBadger Layers (tag) MicroBadger Size (tag)

Version MicroBadger Layers (tag) MicroBadger Size (tag)

Version MicroBadger Layers (tag) MicroBadger Size (tag)

๐Ÿš€ How to use this image

Environment Variables:

Main config.js parameters:

  • URL: specify the ghost url with http:// or https://
  • GID: 1027 specify the Group ID of the files
  • UID: 1027 specify the User ID of the files
  • SYNTAX_HIGHLIGHTING: True specify if Syntax Highlighting is enabled in ghost
  • HIGHLIGHTER_COLOR: dark specify the colour scheme for Syntax Highlighting

Email (defaults to False meaning no emails):

  • CUSTOM_SMTP: specify custom email service. This can be True or False.
  • SERVICE: specify email service. This can be Mailgun, Sendgrid or Gmail.
  • SMTP_USER: specify email service smtp username
  • SMTP_PASS: specify email service smtp password

http://support.ghost.org/config/

Creating an instance

docker run --name some-ghost -d yobasystems/alpine-ghost

This will start a Ghost instance listening on the default Ghost port of 2368.

If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:

docker run --name some-ghost -p 80:2368 -d yobasystems/alpine-ghost

Then, access it via http://localhost or http://host-ip in a browser.

You can also point the image to your existing content on your host:

docker run --name some-ghost -v /path/on/host:/ghost/content yobasystems/alpine-ghost

Alternatively you can use a data container that has a volume that points to /ghost and then reference it:

docker run --name some-ghost --volumes-from some-ghost-data yobasystems/alpine-ghost

Docker Compose example:

(Please pass your own credentials or let them be generated automatically, don't use these ones for production!!)
ghost:
  image: yobasystems/alpine-ghost
  command: npm start --production
  environment:
    URL: https://www.example.co.uk
    SYNTAX_HIGHLIGHTING: True
    HIGHLIGHTER_COLOR: dark
    CUSTOM_SMTP: True
    SERVICE: Sendgrid
    SMTP_USER: [email protected]
    SMTP_PASS: RANd0Mpa55w0Rd
  expose:
    - "2368"
  volumes:
    - /app/ghost:/ghost/content
  domainname: www.example.co.uk
  restart: always

๐Ÿ” Image contents & Vulnerability analysis

PACKAGE NAME PACKAGE VERSION VULNERABILITIES

๐Ÿ“š Source Repositories

๐Ÿณ Container Registries

๐Ÿ”— Links

๐Ÿ’ฐ Donation

BMAC

BITCOIN

ETHEREUM

alpine-ghost's People

Contributors

dominictayloruk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.