diff --git a/apps/ghost-dev/config.json b/apps/ghost-dev/config.json new file mode 100644 index 00000000..969c7243 --- /dev/null +++ b/apps/ghost-dev/config.json @@ -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"] + } + \ No newline at end of file diff --git a/apps/ghost-dev/docker-compose.yml b/apps/ghost-dev/docker-compose.yml new file mode 100644 index 00000000..d967b1fb --- /dev/null +++ b/apps/ghost-dev/docker-compose.yml @@ -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 diff --git a/apps/ghost-dev/metadata/description.md b/apps/ghost-dev/metadata/description.md new file mode 100644 index 00000000..0f990277 --- /dev/null +++ b/apps/ghost-dev/metadata/description.md @@ -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. \ No newline at end of file diff --git a/apps/ghost-dev/metadata/logo.jpg b/apps/ghost-dev/metadata/logo.jpg new file mode 100644 index 00000000..6d11cd7a Binary files /dev/null and b/apps/ghost-dev/metadata/logo.jpg differ diff --git a/apps/ghost/config.json b/apps/ghost/config.json index e6bb6aa3..30d5ae50 100644 --- a/apps/ghost/config.json +++ b/apps/ghost/config.json @@ -1,6 +1,6 @@ { "$schema": "../schema.json", - "name": "Ghost", + "name": "Ghost - Production", "port": 8117, "available": true, "exposable": true,