diff options
| author | Matthieu Borgognon <[email protected]> | 2022-06-14 21:48:31 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-14 12:48:31 -0700 |
| commit | 1638debf1c8314ba346606f0545841c90cedf44c (patch) | |
| tree | 054a4cc58c640d989f74fc24a830606131f2997d /public/v4/apps/ghost-only.yml | |
| parent | 03f3819e7dc782acc5b3f4ca678edc8e0f594289 (diff) | |
| download | caprover-one-click-apps-1638debf1c8314ba346606f0545841c90cedf44c.tar.gz caprover-one-click-apps-1638debf1c8314ba346606f0545841c90cedf44c.zip | |
Update Ghost to v5 breaking changes (#670)
* Update Ghost to v5 breaking changes
* Fix formatting issue
Diffstat (limited to 'public/v4/apps/ghost-only.yml')
| -rw-r--r-- | public/v4/apps/ghost-only.yml | 59 |
1 files changed, 31 insertions, 28 deletions
diff --git a/public/v4/apps/ghost-only.yml b/public/v4/apps/ghost-only.yml index dcaa651..b6c01cd 100644 --- a/public/v4/apps/ghost-only.yml +++ b/public/v4/apps/ghost-only.yml @@ -8,52 +8,52 @@ services: GHOST_EMAIL: $$cap_ghost_email GHOST_HOST: $$cap_ghost_host GHOST_PASSWORD: $$cap_ghost_password - GHOST_PROTOCOL: $$cap_ghost_protocol + GHOST_ENABLE_HTTPS: $$cap_ghost_protocol GHOST_PORT_NUMBER: $$cap_ghost_port - MARIADB_HOST: $$cap_mariadb_host - MARIADB_PORT_NUMBER: $$cap_mariadb_port_number - SMTP_FROM_ADDRESS: $$cap_ghost_smtp_from - SMTP_HOST: $$cap_ghost_smtp_host - SMTP_PASSWORD: $$cap_ghost_smtp_password - SMTP_PORT: $$cap_ghost_smtp_port - SMTP_SERVICE: $$cap_ghost_smtp_service - SMTP_USER: $$cap_ghost_smtp_user + GHOST_DATABASE_HOST: $$cap_db_host + GHOST_DATABASE_PORT_NUMBER: $$cap_db_port_number + GHOST_SMTP_FROM_ADDRESS: $$cap_ghost_smtp_from + GHOST_SMTP_HOST: $$cap_ghost_smtp_host + GHOST_SMTP_PASSWORD: $$cap_ghost_smtp_password + GHOST_SMTP_PORT: $$cap_ghost_smtp_port + GHOST_SMTP_USER: $$cap_ghost_smtp_user + GHOST_SMTP_PROTOCOL: $$cap_ghost_smtp_protocol image: bitnami/ghost:$$cap_ghost_version restart: always volumes: - - $$cap_appname-data:/bitnami + - $$cap_appname-data:/bitnami/ghost caproverExtra: containerHttpPort: '2368' caproverOneClickApp: variables: - - defaultValue: 3.4.0 + - defaultValue: 5.2.2 description: Check out their Docker page for the valid tags https://hub.docker.com/r/bitnami/ghost/tags id: $$cap_ghost_version label: Ghost Version validRegex: /^([^\s^\/])+$/ - - description: Maria DB Host + - description: DB Host defaultValue: localhost - id: $$cap_mariadb_host - label: Maria DB Host - - description: Maria DB port + id: $$cap_db_host + label: DB Host + - description: DB port defaultValue: '3306' - id: $$cap_mariadb_port_number - label: MariaDB port + id: $$cap_db_port_number + label: DB port - description: Database name defaultValue: ghost id: $$cap_ghost_database_name - label: MariaDB Database name + label: Ghost Database name validRegex: /^([^\s^\/])+$/ - description: User for database id: $$cap_ghost_database_user - label: MariaDB User + label: DB User validRegex: /^([^\s^\/])+$/ - description: Password for database id: $$cap_ghost_database_password - label: MariaDB Ghost password + label: Ghost DB password validRegex: /^(?=.*\d).{10,}$/ - defaultValue: [email protected] - description: Ghost application email, you will use it to login + description: Ghost administrator email, you will use it to login id: $$cap_ghost_email label: Ghost email validRegex: /^([^\s^\/])+$/ @@ -66,19 +66,18 @@ caproverOneClickApp: id: $$cap_ghost_host label: Ghost Host validRegex: /^([^\s^\/])+$/ - - defaultValue: http - description: Protocol that you will be using + - defaultValue: 'yes' + description: Enable serving Ghost through HTTPS instead of HTTP id: $$cap_ghost_protocol label: Ghost Protocol validRegex: /^([^\s^\/])+$/ - - defaultValue: '80' + - defaultValue: '2368' description: Port that you will be using id: $$cap_ghost_port label: Ghost Port - - defaultValue: GMail - description: Ghost uses node mailer, check this docs https://docs.ghost.org/concepts/config/#mail - id: $$cap_ghost_smtp_service - label: STMP service to use + - description: The SMTP protocol to use. Allowed values tls, ssl. No default. + id: $$cap_ghost_smtp_protocol + label: '[OPTIONAL] STMP protocol' - defaultValue: smtp.gmail.com description: The STMP host you will be using id: $$cap_ghost_smtp_host @@ -102,6 +101,10 @@ caproverOneClickApp: end: > Ghost is deployed and available as $$cap_appname. + Before starting using Ghost, you'll need to + + - Enable HTTPS + IMPORTANT: It will take up to 2 minutes for Ghost to be ready. Before that, you might see 502 error page. start: Ghost is a fully open source, adaptable platform for building and running a modern online publication. We power blogs, magazines and journalists from Zappos to Sky News. displayName: Ghost - No Database |
