feat: add ghost in development mode (#3825)
* feat: add ghost in development mode * refactor(ghost-dev): change id
This commit is contained in:
parent
4f9dca6be9
commit
336dad6fa8
19
apps/ghost-dev/config.json
Normal file
19
apps/ghost-dev/config.json
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"$schema": "../schema.json",
|
||||||
|
"name": "Ghost - Development",
|
||||||
|
"port": 8225,
|
||||||
|
"available": true,
|
||||||
|
"exposable": true,
|
||||||
|
"id": "ghost-dev",
|
||||||
|
"tipi_version": 1,
|
||||||
|
"version": "5.85.1",
|
||||||
|
"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",
|
||||||
|
"website": "https://ghost.org",
|
||||||
|
"form_fields": [],
|
||||||
|
"supported_architectures": ["arm64", "amd64"]
|
||||||
|
}
|
||||||
|
|
40
apps/ghost-dev/docker-compose.yml
Normal file
40
apps/ghost-dev/docker-compose.yml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
version: "3.9"
|
||||||
|
services:
|
||||||
|
ghost-dev:
|
||||||
|
container_name: ghost-dev
|
||||||
|
image: ghost:5.85.1
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}:/var/lib/ghost/content
|
||||||
|
environment:
|
||||||
|
- database__connection__filename=/var/lib/ghost/content/data/ghost.db
|
||||||
|
- NODE_ENV=development
|
||||||
|
ports:
|
||||||
|
- ${APP_PORT}:2368
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
labels:
|
||||||
|
# Main
|
||||||
|
traefik.enable: true
|
||||||
|
traefik.http.middlewares.ghost-dev-web-redirect.redirectscheme.scheme: https
|
||||||
|
traefik.http.services.ghost-dev.loadbalancer.server.port: 2368
|
||||||
|
# Web
|
||||||
|
traefik.http.routers.ghost-dev-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||||
|
traefik.http.routers.ghost-dev-insecure.entrypoints: web
|
||||||
|
traefik.http.routers.ghost-dev-insecure.service: ghost-dev
|
||||||
|
traefik.http.routers.ghost-dev-insecure.middlewares: ghost-dev-web-redirect
|
||||||
|
# Websecure
|
||||||
|
traefik.http.routers.ghost-dev.rule: Host(`${APP_DOMAIN}`)
|
||||||
|
traefik.http.routers.ghost-dev.entrypoints: websecure
|
||||||
|
traefik.http.routers.ghost-dev.service: ghost-dev
|
||||||
|
traefik.http.routers.ghost-dev.tls.certresolver: myresolver
|
||||||
|
# Local domain
|
||||||
|
traefik.http.routers.ghost-dev-local-insecure.rule: Host(`ghost-dev.${LOCAL_DOMAIN}`)
|
||||||
|
traefik.http.routers.ghost-dev-local-insecure.entrypoints: web
|
||||||
|
traefik.http.routers.ghost-dev-local-insecure.service: ghost-dev
|
||||||
|
traefik.http.routers.ghost-dev-local-insecure.middlewares: ghost-dev-web-redirect
|
||||||
|
# Local domain secure
|
||||||
|
traefik.http.routers.ghost-dev-local.rule: Host(`ghost-dev.${LOCAL_DOMAIN}`)
|
||||||
|
traefik.http.routers.ghost-dev-local.entrypoints: websecure
|
||||||
|
traefik.http.routers.ghost-dev-local.service: ghost-dev
|
||||||
|
traefik.http.routers.ghost-dev-local.tls: true
|
11
apps/ghost-dev/metadata/description.md
Normal file
11
apps/ghost-dev/metadata/description.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
## Ghost - 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)
|
||||||
|
|
||||||
|
### Getting started
|
||||||
|
|
||||||
|
After Ghost is installed, head over to https://yourdomain.com/ghost/ to finish setup and create the admin account!
|
||||||
|
|
||||||
|
> Warning ⚠️: The app runs in development mode and it is ment for home usage **not** for exposing in the internet, please use the Ghost - Production app for production environments.
|
BIN
apps/ghost-dev/metadata/logo.jpg
Normal file
BIN
apps/ghost-dev/metadata/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"$schema": "../schema.json",
|
"$schema": "../schema.json",
|
||||||
"name": "Ghost",
|
"name": "Ghost - Production",
|
||||||
"port": 8117,
|
"port": 8117,
|
||||||
"available": true,
|
"available": true,
|
||||||
"exposable": true,
|
"exposable": true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user