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",