Merge branch 'DrMxrcy-apps/ghost' into develop

This commit is contained in:
Nicolas Meienberger 2022-08-02 08:15:44 +02:00
commit 468d10f058
4 changed files with 62 additions and 0 deletions

20
apps/ghost/config.json Normal file
View file

@ -0,0 +1,20 @@
{
"name": "Ghost",
"port": 8117,
"available": true,
"id": "ghost",
"categories": ["social", "media"],
"description": "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.",
"short_desc": "Ghost - Turn your audience into a business.",
"author": "TryGhost",
"source": "https://github.com/TryGhost/Ghost",
"image": "/logos/apps/ghost.jpg",
"form_fields": [
{
"type": "random",
"label": "Ghost Database password",
"min": 20,
"env_variable": "GHOST_DATABASE_PASSWORD"
}
]
}

View file

@ -0,0 +1,37 @@
version: '3.9'
services:
ghost:
image: ghost:alpine
container_name: ghost
depends_on:
- ghostdb
restart: unless-stopped
ports:
- ${APP_PORT}:2368
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
database__connection__host: ghostdb
database__connection__user: tipi
database__connection__password: ${GHOST_DATABASE_PASSWORD}
database__connection__database: ghosttipi
url: http://localhost:${APP_PORT}
volumes:
- ${APP_DATA_DIR}/content:/var/lib/ghost/content
networks:
- tipi_main_network
ghostdb:
container_name: ghostdb
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: ${GHOST_DATABASE_PASSWORD}
MYSQL_USER: tipi
MYSQL_PASSWORD: ${GHOST_DATABASE_PASSWORD}
MYSQL_DATABASE: ghosttipi
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/mysql
networks:
- tipi_main_network

View file

@ -0,0 +1,5 @@
# A painless self-hosted Blog
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.
![Screenshot](https://ghost.org/images/home/posts_hu3b21debb17401a2115316debd8fe8fa5_467056_2000x0_resize_q100_h2_box_3.webp)

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB