summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/strapi.yml
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-08-16 19:37:46 -0400
committerKasra Bigdeli <[email protected]>2020-08-16 19:37:46 -0400
commit723ca5cca53bf5a569cb951b77f7a9b71fe088bd (patch)
tree0cfbfb92e39cdd2a3ed7470eecbb98fdd27f8490 /public/v4/apps/strapi.yml
parent9ae0159100c53fcd357ec82cb819e3a863b34c57 (diff)
downloadcaprover-one-click-apps-723ca5cca53bf5a569cb951b77f7a9b71fe088bd.tar.gz
caprover-one-click-apps-723ca5cca53bf5a569cb951b77f7a9b71fe088bd.zip
Fixed build
Diffstat (limited to 'public/v4/apps/strapi.yml')
-rw-r--r--public/v4/apps/strapi.yml129
1 files changed, 65 insertions, 64 deletions
diff --git a/public/v4/apps/strapi.yml b/public/v4/apps/strapi.yml
index 71e38cb..67f8d73 100644
--- a/public/v4/apps/strapi.yml
+++ b/public/v4/apps/strapi.yml
@@ -1,72 +1,73 @@
captainVersion: 4
services:
- $$cap_appname-core:
- depends_on:
- - $$cap_appname-mongo
- image: strapi/strapi:$$cap_strapi_version
- volumes:
- - $$cap_appname-data:/srv/app
- restart: always
- environment:
- DATABASE_CLIENT: mongo
- DATABASE_HOST: srv-captain--$$cap_appname-mongo
- DATABASE_PORT: "27017"
- DATABASE_NAME: strapi
- DATABASE_USERNAME: root
- DATABASE_PASSWORD: $$cap_mongo_password
- DATABASE_AUTHENTICATION_DATABASE: strapi
- caproverExtra:
- containerHttpPort: "1337"
- $$cap_appname-mongo:
- image: mongo:$$cap_mongo_version
- volumes:
- - $$cap_appname-mongo-data:/data/db
- - $$cap_appname-mongo-config:/data/configdb
- restart: always
- environment:
- MONGO_INITDB_DATABASE: strapi
- MONGO_INITDB_ROOT_USERNAME: root
- MONGO_INITDB_ROOT_PASSWORD: $$cap_mongo_password
- caproverExtra:
- notExposeAsWebApp: "true"
+ $$cap_appname-core:
+ depends_on:
+ - $$cap_appname-mongo
+ image: strapi/strapi:$$cap_strapi_version
+ volumes:
+ - $$cap_appname-data:/srv/app
+ restart: always
+ environment:
+ DATABASE_CLIENT: mongo
+ DATABASE_HOST: srv-captain--$$cap_appname-mongo
+ DATABASE_PORT: '27017'
+ DATABASE_NAME: strapi
+ DATABASE_USERNAME: root
+ DATABASE_PASSWORD: $$cap_mongo_password
+ DATABASE_AUTHENTICATION_DATABASE: strapi
+ caproverExtra:
+ containerHttpPort: '1337'
+ $$cap_appname-mongo:
+ image: mongo:$$cap_mongo_version
+ volumes:
+ - $$cap_appname-mongo-data:/data/db
+ - $$cap_appname-mongo-config:/data/configdb
+ restart: always
+ environment:
+ MONGO_INITDB_DATABASE: strapi
+ MONGO_INITDB_ROOT_USERNAME: root
+ MONGO_INITDB_ROOT_PASSWORD: $$cap_mongo_password
+ caproverExtra:
+ notExposeAsWebApp: 'true'
caproverOneClickApp:
- variables:
- - id: $$cap_strapi_version
- label: Strapi Version
- defaultValue: 3.0.0-beta.18.6
- description: Check out their page for the valid versions
- https://hub.docker.com/r/strapi/strapi/tags
- validRegex: /^([^\s^\/])+$/
- - id: $$cap_mongo_version
- label: MongoDB Version
- defaultValue: "4"
- description: Check out their Docker page for the valid tags
- https://hub.docker.com/r/library/mongo/tags/
- validRegex: /^([a-zA-Z0-9])+$/
- - id: $$cap_mongo_password
- label: MongoDB password
- description: Only use alphanumeric chars.
- validRegex: /^([a-zA-Z0-9])+$/
- instructions:
- start: >-
- API creation made simple, secure and fast. The most advanced open-source
- Content Management Framework to build powerful API with no effort. Read
- more here: https://strapi.io
+ variables:
+ - id: $$cap_strapi_version
+ label: Strapi Version
+ defaultValue: 3.0.0-beta.18.6
+ description: Check out their page for the valid versions
+ https://hub.docker.com/r/strapi/strapi/tags
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_mongo_version
+ label: MongoDB Version
+ defaultValue: '4'
+ description: Check out their Docker page for the valid tags
+ https://hub.docker.com/r/library/mongo/tags/
+ validRegex: /^([a-zA-Z0-9])+$/
+ - id: $$cap_mongo_password
+ label: MongoDB password
+ description: Only use alphanumeric chars.
+ validRegex: /^([a-zA-Z0-9])+$/
+ instructions:
+ start: >-
+ API creation made simple, secure and fast. The most advanced open-source
+ Content Management Framework to build powerful API with no effort. Read
+ more here: https://strapi.io
- NOTE: Hardware requirements:
+ NOTE: Hardware requirements:
- 2GB minimum RAM required
+ 2GB minimum RAM required
- 1Ghz minimum CPU clock speed
- end: >-
- Strapi is deployed and available as $$cap_appname-core
- IMPORTANT!! It takes up to 2-5 minutes for Strapi to boot up. You will see a 502 Error until the startup is finished.
+ 1Ghz minimum CPU clock speed
+ end: >-
+ Strapi is deployed and available as $$cap_appname-core
+ IMPORTANT!! It takes up to 2-5 minutes for Strapi to boot up. You will see a 502 Error until the startup is finished.
- IMPORTANT: You need to add a config file manually to support the correct domain name. See this issue for more details: https://github.com/strapi/strapi-docker/issues/173
- displayName: ""
- isOfficial: true
- description: The Open source Headless CMS Front-End Developers love. Manage your
- content. Distribute it anywhere
- documentation: Taken from
- https://github.com/strapi/strapi-docker/blob/master/examples/mongo/docker-compose.yml
+ IMPORTANT: You need to add a config file manually to support the correct domain name. See this issue for more details: https://github.com/strapi/strapi-docker/issues/173
+ displayName: ''
+ isOfficial: true
+ description:
+ The Open source Headless CMS Front-End Developers love. Manage your
+ content. Distribute it anywhere
+ documentation: Taken from
+ https://github.com/strapi/strapi-docker/blob/master/examples/mongo/docker-compose.yml