summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-02-01 15:17:39 -0500
committerKasra Bigdeli <[email protected]>2020-02-01 15:17:39 -0500
commitc749d61f4763d613137f6ee94f31ebaa73ad7758 (patch)
tree4c43fd90048c33cd753c0f1c01e199aa7539e408
parentd78b2dba048b8150a958a800ffbf1747988ae10f (diff)
downloadcaprover-one-click-apps-c749d61f4763d613137f6ee94f31ebaa73ad7758.tar.gz
caprover-one-click-apps-c749d61f4763d613137f6ee94f31ebaa73ad7758.zip
Updated Strapi - reverted to old solution. Adding config during the build isn't working
-rw-r--r--public/v2/apps/strapi.json8
1 files changed, 2 insertions, 6 deletions
diff --git a/public/v2/apps/strapi.json b/public/v2/apps/strapi.json
index 467fc1c..976e765 100644
--- a/public/v2/apps/strapi.json
+++ b/public/v2/apps/strapi.json
@@ -11,11 +11,7 @@
"$$cap_appname-mongo"
],
"containerHttpPort": "1337",
- "dockerfileLines": [
- "FROM strapi/strapi:$$cap_strapi_version",
- "RUN mkdir -p /srv/app/config/environments/production/",
- "RUN echo \"{\\\"proxy\\\":{\\\"enabled\\\":true,\\\"ssl\\\":false,\\\"host\\\":\\\"$$cap_appname.$$cap_root_domain\\\",\\\"port\\\":80}}\" > /srv/app/config/environments/production/server.json "
- ],
+ "image": "strapi/strapi:$$cap_strapi_version",
"volumes": [
"$$cap_appname-data:/srv/app"
],
@@ -51,7 +47,7 @@
},
"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 \n\nNOTE: Hardware requirements: \n2GB minimum RAM required\n1Ghz minimum CPU clock speed",
- "end": "Strapi is deployed and available as $$cap_appname-core \n IMPORTANT!! It takes up to 2 minutes for Strapi to boot up. You will see a 502 Error until the startup is finished."
+ "end": "Strapi is deployed and available as $$cap_appname-core \n IMPORTANT!! It takes up to 2-5 minutes for Strapi to boot up. You will see a 502 Error until the startup is finished.\n\nIMPORTANT: 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"
},
"variables": [{
"id": "$$cap_strapi_version",