Add Ghost

This commit is contained in:
MXrcy 2022-06-14 09:32:09 -04:00
parent 388ee542af
commit d10a1de820
7 changed files with 69 additions and 4 deletions

View file

@ -1 +1 @@
0.2.1
0.3.0

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

@ -0,0 +1,22 @@
{
"name": "Ghost",
"port": 8115,
"available": true,
"id": "ghost",
"categories": ["social", "media", "featured"],
"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": {
"dbpassword": {
"type": "password",
"label": "Ghost Database password",
"max": 50,
"min": 8,
"required": true,
"env_variable": "GHOST_DATABASE_PASSWORD"
}
}
}

View file

@ -0,0 +1,37 @@
version: '3.1'
services:
ghost:
image: ghost:alpine
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: db
database__connection__user: tipi
database__connection__password: ${GHOST_DATABASE_PASSWORD}
database__connection__database: ghosttipi
url: https://localhost:${APP_PORT}
volumes:
- ${APP_DATA_DIR}/content:/var/lib/ghost/content
networks:
- tipi_main_network
ghostdb:
container_name: ghostdb
user: 1000:1000
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)

View file

@ -8,7 +8,7 @@ services:
command: bash -c "cd /api && npm run dev"
container_name: api
ports:
- 3001:3001
- 3002:3001
volumes:
## Docker sock
- /var/run/docker.sock:/var/run/docker.sock:ro
@ -31,7 +31,7 @@ services:
command: bash -c "cd /dashboard && npm run dev"
container_name: dashboard
ports:
- 3000:3000
- 3001:3000
networks:
- tipi_main_network
environment:
@ -45,7 +45,7 @@ services:
traefik.http.routers.dashboard.rule: PathPrefix("/") # Host(`tipi.local`) &&
traefik.http.routers.dashboard.entrypoints: webinsecure
traefik.http.routers.dashboard.service: dashboard
traefik.http.services.dashboard.loadbalancer.server.port: 3000
traefik.http.services.dashboard.loadbalancer.server.port: 3001
networks:
tipi_main_network:

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View file

@ -18,4 +18,5 @@ export const appNames = [
'homarr',
'code-server',
'calibre-web',
'ghost'
];