diff options
| author | Kasra Bigdeli <[email protected]> | 2020-08-16 19:24:26 -0400 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2020-08-16 19:24:26 -0400 |
| commit | 43505a20e85a0f38f700e91e7456b33aa32224a1 (patch) | |
| tree | 3d3ab8ddbe5b022a1c838f7805c919c47a45f435 /public/v4/apps/ghost-only.yml | |
| parent | 2b5f8234fdb7557e0d25dbab974d85b6b347c94c (diff) | |
| download | caprover-one-click-apps-43505a20e85a0f38f700e91e7456b33aa32224a1.tar.gz caprover-one-click-apps-43505a20e85a0f38f700e91e7456b33aa32224a1.zip | |
migrated to v4
Diffstat (limited to 'public/v4/apps/ghost-only.yml')
| -rw-r--r-- | public/v4/apps/ghost-only.yml | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/public/v4/apps/ghost-only.yml b/public/v4/apps/ghost-only.yml new file mode 100644 index 0000000..d4d4fa8 --- /dev/null +++ b/public/v4/apps/ghost-only.yml @@ -0,0 +1,117 @@ +captainVersion: 4 +services: + $$cap_appname: + environment: + GHOST_DATABASE_NAME: $$cap_ghost_database_name + GHOST_DATABASE_PASSWORD: $$cap_ghost_database_password + GHOST_DATABASE_USER: $$cap_ghost_database_user + GHOST_EMAIL: $$cap_ghost_email + GHOST_HOST: $$cap_ghost_host + GHOST_PASSWORD: $$cap_ghost_password + GHOST_PROTOCOL: $$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 + image: bitnami/ghost:$$cap_ghost_version + restart: always + volumes: + - $$cap_appname-data:/bitnami + caproverExtra: + containerHttpPort: "2368" +caproverOneClickApp: + variables: + - defaultValue: 3.4.0 + 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 + defaultValue: localhost + id: $$cap_mariadb_host + label: Maria DB Host + - description: Maria DB port + defaultValue: "3306" + id: $$cap_mariadb_port_number + label: MariaDB user + - description: Database name + defaultValue: ghost + id: $$cap_ghost_database_name + label: MariaDB Database name + validRegex: /^([^\s^\/])+$/ + - description: User for database + id: $$cap_ghost_database_user + label: MariaDB User + validRegex: /^([^\s^\/])+$/ + - description: Password for database + id: $$cap_ghost_database_password + label: MariaDB Ghost password + validRegex: /^(?=.*\d).{10,}$/ + - defaultValue: [email protected] + description: Ghost application email, you will use it to login + id: $$cap_ghost_email + label: Ghost email + validRegex: /^([^\s^\/])+$/ + - description: The admin password must be at least 10 characters, and at least one + number and letter + id: $$cap_ghost_password + label: Ghost password + validRegex: /^(?=.*\d).{10,}$/ + - defaultValue: blog.example.com + description: Enter the URL that is used to access your publication + id: $$cap_ghost_host + label: Ghost Host + validRegex: /^([^\s^\/])+$/ + - defaultValue: http + description: Protocol that you will be using + id: $$cap_ghost_protocol + label: Ghost Protocol + validRegex: /^([^\s^\/])+$/ + - defaultValue: "80" + 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 + - defaultValue: smtp.gmail.com + description: The STMP host you will be using + id: $$cap_ghost_smtp_host + label: STMP host + - defaultValue: "465" + description: The SMTP port you will be using + id: $$cap_ghost_smtp_port + label: SMTP port + - defaultValue: [email protected] + description: Your user on the SMTP service + id: $$cap_ghost_smtp_user + label: SMTP user + - description: Your password on the SMTP service + id: $$cap_ghost_smtp_password + label: SMTP password + - defaultValue: [email protected] + description: SMTP from address + id: $$cap_ghost_smtp_from + label: SMTP from address + instructions: + end: > + Ghost is deployed and available as $$cap_appname. + + 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 + isOfficial: true + description: This will create a Ghost blog without a database. After + installation you will need to change config.production.json, theres a bug + where the port number is in the url. + documentation: Taken from https://docs.ghost.org/ |
