wip: ghost

This commit is contained in:
Nicolas Meienberger 2022-07-26 20:11:40 +02:00
commit 3452560465
4 changed files with 64 additions and 0 deletions

22
apps/ghost/config.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "Ghost",
"port": 8115,
"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.png",
"form_fields": [
{
"type": "password",
"label": "Ghost Database password",
"max": 50,
"min": 8,
"random": true,
"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